88
MES1000, MES2000 Ethernet Switches
5.16
Protocol configuration
5.16.1
DNS protocol configuration
—
domain name system
The main task of DNS protocol is the identification of the network node (host) IP address by the
request, that contains its domain name. The database of network node domain names and corresponding
IP addresses is stored on DNS servers.
Global configuration mode commands
Command line request in global configuration mode appears as follows:
console(config)#
Table 5.67 —Global configuration mode commands
Command
Action
ip domain lookup
Enable DNS protocol utilization.
no ip domain lookup
Disable DNS protocol utilization.
ip name-server
server
_
ipv_address list
Define IPv4/IPv6 addresses available DNS servers. You can define up to 8 server IP addresses.
Server IP address values should be space-separated.
no ip name-server
[server
_ip_
address1 …
server
_ip_
address8]
Remove DNS server IP address from the list of available servers.
ip domain name
name
Define the default domain name, that will be used by the application for correction of invalid
domain names (domain names without a dot). For domain names without a dot, a dot with
the domain name specified in the command will be added at the end of the name. The name
should contain from 1 to 158 characters.
no ip domain name
Remove default domain name.
ip host
name
ip_
address1
[
ip_
address2 …
ip_
address4]
Define static matches between network node names and IP addresses, add the established
match to the cache. The name may contain from 1 to 158 characters. You can define up to
four IP addresses.
no ip host
name
Delete static matches between node names and IP addresses. The name may contain from 1
to 158 characters.
EXEC mode commands
Command line request in EXEC mode appears as follows:
console#
Table 5.68 —EXEC mode commands
Command
Action
clear host {
name|*
}
Delete the match between node name and IP address in cache or delete all records (*). The
name should contain from 1 to 158 characters.
show hosts
[
name
]
Show default domain name, DNS server list, static and cached matches between node names
and IP addresses.
When network node name is used in command, the corresponding IP address will be shown.
The name should contain from 1 to 158 characters.
Example use of commands