Cisco Network Function Virtualization Infrastructure Software Configuration Guide, Release 26.2 and Later

PDF

Cisco Network Function Virtualization Infrastructure Software Configuration Guide, Release 26.2 and Later

Configure DNS name servers

Want to summarize with AI?

Log in

Configure DNS name servers to specify the servers used for domain name resolution.


DNS name servers are used for domain name resolution. Configuring them allows the system to resolve domain names to IP addresses.

DNS name servers configured using the system settings name-server command is prepended to DNS name servers provided by a DHCP server automatically. To view the list of configured name servers, use the show system settings-native DNS command.

Procedure

1.

Configure name servers.

Example:

config terminal
system settings name-server 209.165.201.24 209.165.201.23 2001:420:30d:201:ffff:ffff:fff4:36
commit
2.

To update name servers, first unconfigure existing name servers and then configure new ones.

Example:

config terminal
no system settings name-server
system settings name-server 209.165.201.23 2001:420:30d:201:ffff:ffff:fff4:33 209.165.201.27
commit
3.

To unconfigure name servers, use the no form of the command.

Example:

config terminal
no system settings name-server
commit

The DNS name servers are configured and will be used for domain name resolution. The configured servers are prepended to any DHCP-provided DNS servers.