Alcatel Carrier Internetworking Solutions omniswitch Switch User Manual


 
Enabling the DNS Resolver Logging Into the Switch
page 1-18 OmniSwitch 6600 Family Switch Management Guide March 2005
Enabling the DNS Resolver
A Domain Name System (DNS) resolver is an optional internet service that translates host names into IP
addresses. Every time you enter a host name when logging into the switch, a DNS service must look up the
name on a server and resolve the name to an IP address. You can configure up to three domain name serv-
ers that will be queried in turn to resolve the host name. If all servers are queried and none can resolve the
host name to an IP address, the DNS fails. If the DNS fails, you must either enter an IP address in place of
the host name or specify the necessary lookup tables on one of the specified servers.
Note. You do not need to enable the DNS resolver service unless you want to communicate with the
switch by using a host name. If you use an IP address rather than a host name, the DNS resolver service is
not needed.
You must perform three steps on the switch to enable the DNS resolver service.
1 Set the default domain name for DNS lookups with the ip domain-name CLI command.
-> ip domain-name mycompany1.com
2 Specify the IP addresses of up to three servers with the ip name-server CLI command. These servers
will be queried when a host lookup is requested.
-> ip name-server 189.202.191.14 189.202.191.15 189.255.19.1
3 Use the ip domain-lookup CLI command to enable the DNS resolver service.
-> ip domain-lookup
You can disable the DNS resolver by using the no ip domain-lookup command. For more information,
refer to the OmniSwitch CLI Reference Guide.
Verifying Login Settings
To display information about login sessions, use the following CLI commands.
For more information about these commands, refer to the OmniSwitch CLI Reference Guide.
who Displays all active login sessions (e.g., console, Telnet, FTP, HTTP,
Secure Shell, Secure Shell FTP).
whoami Displays the current user session.
show session config Displays session configuration information (e.g., default prompt, ban-
ner file name, inactivity timer, login timer, login attempts).
show dns Displays the current DNS resolver configuration and status