[Contents] [Prev] [Next] [Index] [Report an Error]

# 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 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.

## 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:

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.

aaa dns primary

- Use to specify the IP address of the DNS primary name server.
- Example
  `
  host1(config)#aaa dns primary 10.10.10.5
  `
- Use the no version to set the corresponding address to 0.0.0.0.
- See aaa dns

aaa dns secondary

- Use to specify the IP address of the DNS secondary name server.
- Example
  `
  host1(config)#aaa dns secondary 10.10.10.6
  `
- Use the no version to set the corresponding address to 0.0.0.0.
- See aaa dns

aaa ipv6-dns primary

- Use to specify the IPv6 address of the DNS primary name server.
- Example
  `
  host1(config)#aaa ipv6-dns primary 2001:db8::8001
  `
- Use the no version to set the corresponding address to 0 (or ::).
- See aaa ipv6-dns

aaa ipv6-dns secondary

- Use to specify the IPv6 address of the DNS secondary name server.
- Example
  `
  host1(config)#aaa ipv6-dns secondary 2001:db8::8002
  `
- Use the no version to set the corresponding address to 0 (or ::).
- See aaa ipv6-dns

### WINS Primary and Secondary NMS Configuration

To configure the WINS primary and secondary name server addresses:

1. Specify the IP address of the WINS primary name server.
   `
   host1(config)#aaa wins primary 192.168.10.05
   `
2. 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

- Use to specify the IP address of the WINS primary name server.
- Example
  `
  host1(config)#aaa wins primary 192.168.10.05
  `
- Use the no version to set the corresponding address to 0.0.0.0.
- See aaa wins

aaa wins secondary

- Use to specify the IP address of the WINS secondary name server.
- Example
  `
  host1(config)#aaa wins secondary 192.168.10.40
  `
- Use the no version to set the corresponding address to 0.0.0.0.
- See aaa wins

[Contents] [Prev] [Next] [Index] [Report an Error]