AMX NXA-ENET24 Switch User Manual


 
CLI (Command Line Interface)
279
NXA-ENET24 - Software Management Guide
DNS Commands (Cont.)
Command Function
ip domain-list
This command defines a
list of domain names that
can be appended to
incomplete host names
(i.e., host names passed
from a client that are not
formatted with dotted
notation).
Use the no form to
remove a name from this
list.
Syntax:
[no] ip domain-list name
name - Name of the host. Do not include the initial dot that separates the host
name from the domain name. (Range: 1-64 characters)
Default Setting: None
Command Mode: Global Configuration
Command Usage: Domain names are added to the end of the list one at a time.
When an incomplete host name is received by the DNS server on this switch, it will
work through the domain list, appending each domain name in the list to the host
name, and checking with the specified name servers for a match.
If there is no domain list, the domain name specified with the ip domain-name com-
mand is used. If there is a domain list, the default domain name is not used.
Example: This example adds two domain names to the current list and then dis-
plays the list:
Console(config)#ip domain-list sample.com.jp
Console(config)#ip domain-list sample.com.uk
Console(config)#end
Console#show dns
Domain Lookup Status:
DNS disabled
Default Domain Name:
.sample.com
Domain Name List:
.sample.com.jp
.sample.com.uk
Name Server List:
Console#
ip name-server
This command specifies
the address of one or
more domain name
servers to use for name-
to-address resolution.
Use the no form to
remove a name server
from this list.
Syntax:
[no] ip name-server server-address1 [server-address2 … server-
address6]
server-address1 - IP address of domain-name server.
server-address2 … server-address6 - IP address of additional domain-name
servers.
Default Setting: None
Command Mode: Global Configuration
Command Usage: The listed name servers are queried in the specified sequence
until a response is received, or the end of the list is reached with no response.
Example: This example adds two domain-name servers to the list and then dis-
plays the list:
Console(config)#ip domain-server 192.168.1.55 10.1.0.55
Console(config)#end
Console#show dns
Domain Lookup Status:
DNS disabled
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#