Ip name-server – Allied Telesis AT-8100 Series User Manual
Page 366
Chapter 18: Domain Name System (DNS) Commands
366
IP NAME-SERVER
Syntax
ip name-server <
ip-address
>
Parameters
ip-address
Specifies the IP address of a DNS server.
Mode
Global Configuration mode
Description
Use this command to add the IP address of a DNS server to the DNS
server list on the switch. The DNS client on the switch sends DNS queries
to servers on this list when trying to resolve a DNS host name. The switch
cannot resolve a host name until you have added at least one server to
this list. There is a maximum of three servers that you can add to the list.
When the switch is using its DHCP client for an interface, it can receive
Option code 6 from the DHCP server. After a switch receives Option code
6 from a DHCP server, it automatically adds information about the DHCP
server to the end of the existing domain list.
To delete a DNS server from the switch’s server list, use the NO IP NAME-
SERVER command with the IP address of the DNS server.
Confirmation Command
“SHOW IP NAME-SERVER” on page 372
Examples
To allow the switch to send DNS queries to a DNS server at 10.10.10.5,
use the commands:
awplus> enable
awplus# configure terminal
awplus(config)# ip name-server 10.10.10.5