114
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 54:
• Specify Devi
ce A as the DNS server of Device B (the DNS client). Device A acts as a DNS proxy.
The IP address of the real DNS server is 4000::1.
• Configure the IP address of the DNS proxy on Device B. DNS requests of Device B are
forwarded to the real DNS server through the DNS proxy.
Figure 54 Network diagram
Configuration procedure
Before performing the following configuration, make sure that:
• Device A, the DNS server, and the host are reachable to each other.
• The IP addresses of the interfaces are configured as shown in Figure 54.
1. Config
ure the DNS server:
This configuration might vary by DNS server. When a PC running Windows Server 2003 acts as
the DNS server, see "Dynamic domain name resolution configuration example" for
config
uration information.
2. Configure the DNS proxy:
# Specify the DNS server 4000::1.
<DeviceA> system-view
[DeviceA] ipv6 dns server 4000::1
# Enable DNS proxy.
[DeviceA] dns proxy enable
3. Configure the DNS client:
# Specify the DNS server 2000::2.
<DeviceB> system-view
[DeviceB] ipv6 dns server 2000::2
Verifying the configuration
# Execute the ping host.com command on Device B.