Configuring and Managing DNS
121
After these commands are entered, when the user logs on, the MOTD
banner is displayed, followed by the text
Do you agree?
If the user enters
y
, then the login proceeds; if not, then the user is disconnected.
Configuring and
Managing DNS
You can configure a WX switch to use a Domain Name Service (DNS)
server to resolve hostnames into their IP addresses. This capability is
useful in cases where you specify a hostname instead of an IP address in a
command.
For example, as an alternative to the command
ping 192.168.9.1
, you
can enter the command
ping chris.example.com
. When you enter
ping
chris.example.com
, the WX switch's DNS client queries a DNS server for
the IP address that corresponds to the hostname
chris.example.com
, then
sends the ping request to that IP address.
The WX switch’s DNS client is disabled by default. To configure DNS:
Enable the DNS client.
Specify the IP addresses of the DNS servers.
Configure a default domain name for DNS queries.
Enabling or Disabling
the DNS Client
The DNS client is disabled by default. To enable or disable the DNS client,
use the following command:
set ip dns
{
enable
|
disable
}
Configuring DNS
Servers
You can configure a WX switch to use one primary DNS server and up to
five secondary DNS servers to resolve DNS queries.
The WX switch always sends a request to the primary DNS server first.
The WX switch sends a request to a secondary DNS server only if the
primary DNS server does not respond.
Adding a DNS Server
To add a DNS server, use the following command:
set ip dns server
ip-addr
{
primary
|
secondary
}
Removing a DNS Server
To remove a DNS server, use the following command:
clear ip dns server
ip-addr
Summary of Contents for 3CRWX120695A
Page 138: ...138 CHAPTER 6 CONFIGURING AND MANAGING IP INTERFACES AND SERVICES ...
Page 272: ...272 CHAPTER 11 CONFIGURING RF LOAD BALANCING FOR MAPS ...
Page 310: ...310 CHAPTER 13 CONFIGURING USER ENCRYPTION ...
Page 322: ...322 CHAPTER 14 CONFIGURING RF AUTO TUNING ...
Page 350: ...350 CHAPTER 16 CONFIGURING QUALITY OF SERVICE ...
Page 368: ...368 CHAPTER 17 CONFIGURING AND MANAGING SPANNING TREE PROTOCOL ...
Page 412: ...412 CHAPTER 19 CONFIGURING AND MANAGING SECURITY ACLS ...
Page 518: ...518 CHAPTER 21 CONFIGURING AAA FOR NETWORK USERS ...
Page 530: ...530 CHAPTER 22 CONFIGURING COMMUNICATION WITH RADIUS ...
Page 542: ...542 CHAPTER 23 MANAGING 802 1X ON THE WX SWITCH ...
Page 598: ...598 CHAPTER 26 ROGUE DETECTION AND COUNTERMEASURES ...
Page 706: ...706 GLOSSARY ...