beautypg.com

Adding a dns server to the switch, Show ip name-server command display – Allied Telesis AT-8100 Series User Manual

Page 360

background image

Chapter 17: Domain Name System (DNS)

360

Adding a DNS Server to the Switch

The switch has a DNS client. When you add a DNS server to the switch,
the DNS client allows you to use domain names instead of IP addresses
when you use commands on the switch.

The switch cannot resolve a host name until you have added at least one
server to the DNS server list on the switch. There is no limit on the number
of servers you can add to the list.

To add the IP address of a DNS server, use the IP NAME-SERVER
command. The following example adds the IP address of a DNS server,
10.8.4.75, to the list of DNS servers:

awplus> enable
awplus# configure terminal
awplus(config)# ip name-server 10.8.4.75

To display the list of DNS servers, use the SHOW IP NAME-SERVER
command in the Privileged Exec mode:

awplus# show ip name-server

Here is an example of the information the command displays.

Figure 82. SHOW IP NAME-SERVER Command Display

DNS Name Servers:
10.8.4.75