Utility Commands
435
ProSAFE M7100 Managed Switches
DNS Client Commands
These commands are used in the Domain Name System (DNS), an Internet directory service. DNS
is how domain names are translated into IP addresses. When enabled, the DNS client provides a
hostname lookup service to other components.
ip domain lookup
Use this command to enable the DNS client.
no ip domain lookup
Use this command to disable the DNS client.
ip domain name
Use this command to define a default domain name that the software uses to complete
unqualified host names (names with a domain name).
By default, no default domain name is
configured in the system. The <name> parameter cannot be longer than 255 characters and
should not include an initial period. The <name> parameter must be used only when the default
domain name list, configured using the ip domain list command, is empty.
The CLI command ip domain name yahoo.com c
onfigures yahoo.com as a default domain
name. For an unqualified hostname xxx, a DNS query is made to find the IP address corresponding
to xxx.yahoo.com.
no ip domain name
Use this command to remove the default domain name configured using the ip domain name
c
ommand.
Default enabled
Format ip domain lookup
Mode Global Config
Format no ip domain lookup
Mode Global Config
Default none
Format ip domain name <name>
Mode Global Config
Format no ip domain name
Mode Global Config