AMX NXA-ENET24 Switch User Manual


 
CLI (Command Line Interface)
280
NXA-ENET24 - Software Management Guide
DNS Commands (Cont.)
Command Function
ip domain-lookup
This command enables
DNS host name-to-
address translation.
Use the no form to
disable DNS.
Syntax:
[no] ip domain-lookup
Default Setting: Disabled
Command Mode: Global Configuration
Command Usage: At least one name server must be specified before you can
enable DNS. If all name servers are deleted, DNS will automatically be disabled.
Example: This example enables DNS and then displays the configuration:
Console(config)#ip domain-lookup
Console(config)#end
Console#show dns
Domain Lookup Status:
DNS enabled
Default Domain Name:
.sample.com
Domain Name List:
.sample.com.jp
.sample.com.uk
Name Server List:
192.168.1.55
10.1.0.55
Console#
show hosts
This command displays
the static host name-to-
address mapping table.
Command Mode: Privileged Exec
Example: Note that a host name will be displayed as an alias if it is mapped to the
same address(es) as a previously configured entry:
Console#show hosts
Hostname
rd5
Inet address
10.1.0.55 192.168.1.55
Alias
1.rd6
Console#
show dns
This command displays
the configuration of the
DNS server.
Command Mode: Privileged Exec
Example:
Console#show dns
Domain Lookup Status:
DNS enabled
Default Domain Name:
sample.com
Domain Name List:
sample.com.jp
sample.com.uk
Name Server List:
192.168.1.55
10.1.0.55
Console#