Configuring Name Server Addresses
You can assign IP or IPv6 addresses for DNS and IP addresses for WINS name servers. During setup negotiations between the router and remote PC clients using PPP (Internet Protocol Control Protocol [IPCP] specifically), the remote client may request the DNS and WINS server IP addresses. If the IP addresses passed to the router by the remote PC client are different from the ones configured on your router, the router returns the values that you configured as the correct values to the remote PC client. This behavior is controlled by the ppp peer dns and ppp peer wins interface commands.
If a PPP client request contains address values of 0.0.0.0 for the name servers, the router considers that the remote PC client is not configured and returns the configured values as the correct values to the remote PC client.
The DNS and WINS addresses are considered as part of the PPP user information. These addresses are provided to the PPP client as part of the IPCP negotiations between PPP peers. For details, see RFC 1877PPP Internet Protocol Control Protocol Extensions for Name Server Addresses (December 1995).
NOTE: All name server address parameters are defined in the context of a virtual router.
Configuration Tasks
This section contains procedures for configuring the DNS and WINS primary and secondary name server addresses.
DNS Primary and Secondary NMS Configuration
To configure the DNS primary and secondary name server addresses:
host1(config)#aaa ipv6-dns primary 2001:db8::8001host1(config)#aaa ipv6-dns secondary 2001:db8::8002
NOTE: The router uses name server addresses exclusively for PPP clients and not for domain name server resolution.
aaa dns primary
host1(config)#aaa dns primary 10.10.10.5Use the no version to set the corresponding address to 0.0.0.0. aaa dns secondary
host1(config)#aaa dns secondary 10.10.10.6Use the no version to set the corresponding address to 0.0.0.0. aaa ipv6-dns primary
host1(config)#aaa ipv6-dns primary 2001:db8::8001Use the no version to set the corresponding address to 0 (or ::). aaa ipv6-dns secondary
host1(config)#aaa ipv6-dns secondary 2001:db8::8002Use the no version to set the corresponding address to 0 (or ::). WINS Primary and Secondary NMS Configuration
To configure the WINS primary and secondary name server addresses:
- Specify the IP address of the WINS primary name server.
host1(config)#aaa wins primary 192.168.10.05- Specify the IP address of the WINS secondary name server.
host1(config)#aaa wins secondary 192.168.10.40
NOTE: The router uses name server addresses exclusively for PPP clients and not for domain name server resolution.
aaa wins primary
host1(config)#aaa wins primary 192.168.10.05Use the no version to set the corresponding address to 0.0.0.0. aaa wins secondary
host1(config)#aaa wins secondary 192.168.10.40Use the no version to set the corresponding address to 0.0.0.0.