# Configuring DNS Primary and Secondary NMS

To configure the DNS primary and secondary name server addresses:

1. Specify the IP address of the DNS primary name server.
   host1(config)#aaa dns primary 10.10.10.5

   or, for IPv6,

   host1(config)#aaa ipv6-dns primary 2001:db8::8001
2. Specify the IP address of the DNS secondary name server.
   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.