Dns commands, Ip host, Dns commands -278 – SMC Networks SMC TigerStack III SMC6824MPE User Manual
Page 540: Ip host -279, Table 4-70 dns commands -278
C
OMMAND
L
INE
I
NTERFACE
4-278
DNS Commands
These commands are used to configure Domain Naming System (DNS)
services. You can manually configure entries in the DNS domain name to IP
address mapping table, configure default domain names, or specify one or
more name servers to use for domain name to address translation.
Note that domain name services will not be enabled until at least one name
server is specified with the ip name-server command and domain lookup is
enabled with the ip domain-lookup command.
ip host
This command creates a static entry in the DNS table that maps a host name
to an IP address. Use the no form to remove an entry.
Table 4-70 DNS Commands
Command
Function
Mode Page
ip host
Creates a static host name-to-address
mapping
GC
clear host
Deletes entries from the host
name-to-address table
PE
ip domain-name
Defines a default domain name for
incomplete host names
GC
ip domain-list
Defines a list of default domain names for
incomplete host names
GC
ip name-server
Specifies the address of one or more name
servers to use for host name-to-address
translation
GC
ip domain-lookup
Enables DNS-based host name-to-address
translation
GC
show hosts
Displays the static host name-to-address
mapping table
PE
show dns
Displays the configuration for DNS services PE
show dns cache
Displays entries in the DNS cache
PE
clear dns cache
Clears all entries from the DNS cache
PE