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 1877—PPP 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. |
This section contains procedures for configuring the DNS and WINS primary and secondary name server addresses.
To configure the DNS primary and secondary name server addresses:
- host1(config)#aaa dns primary 10.10.10.5
or, for IPv6,
- host1(config)#aaa ipv6-dns primary 2001:db8::8001
- host1(config)#aaa dns secondary 10.10.10.6
or, for IPv6,
- host1(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.5
aaa dns secondary
- host1(config)#aaa dns secondary 10.10.10.6
aaa ipv6-dns primary
- host1(config)#aaa ipv6-dns primary 2001:db8::8001
aaa ipv6-dns secondary
- host1(config)#aaa ipv6-dns secondary 2001:db8::8002
To configure the WINS primary and secondary name server addresses:
- host1(config)#aaa wins primary 192.168.10.05
- 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.05
aaa wins secondary
- host1(config)#aaa wins secondary 192.168.10.40