F3215-HP Load Balancing Module Network Management Configuration Guide-6PW101
159
DNS proxy configuration example
Network requirements
When the IP address of the DNS server changes, you must configure the new IP address of the DNS
server on each device on the LAN. To simplify network management, you can use the DNS proxy
function.
As shown in Figure 109:
• S
pec
ify LB as the DNS server of Device (the DNS client). LB acts as a DNS proxy. The IP address of
t h e re al D NS s e r v e r i s 4 .1.1.1.
• Configure the IP address of the DNS proxy on Device. DNS requests of Device are forwarded to the
real DNS server through the DNS proxy.
Figure 109 Network diagram
Configuration procedure
Before performing the following configuration, assume that LB, the DNS server, and the host are
reachable to each other and the IP addresses of the interfaces are configured as shown in Figure 109.
• Conf
igure the DNS server:
This configuration may vary with DNS servers. When a PC running Windows Server 2000 acts as
the DNS server, see "Dynamic domain name resolution configuration example" for related
config
uration information.
• Configure the DNS proxy:
# Specify the DNS server 4.1.1.1.
<LB> system-view
[LB] dns server 4.1.1.1
# Enable DNS proxy.
[LB] dns proxy enable
• Configure the DNS client:
# Enable the domain name resolution function.
<Device> system-view
[Device] dns resolve
# Specify the DNS server 2.1.1.2.
3.1.1.1/24
host.com
Device
DNS client
LB
DNS proxy
IP network
DNS server
2.1.1.1/24
2.1.1.2/24 1.1.1.1/24
4.1.1.1/24
Host