Owners manual

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
218
Switch# configure terminal
Switch(config)# ip dns lookup static
Switch(config)#
23-4 ip domain lookup
This command is used to enable the DNS to carry out the domain name resolution. Use the no form of
this command to disable the DNS domain name resolution function.
ip domain lookup
no ip domain lookup
Parameters
None.
Default
By default, this option is disabled.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
Use this command to enable the domain name resolution function. The DNS resolver sends the query to
the configured name server. The answer replied by the name server will be cached for answering the
subsequent requests.
Example
This example shows how to enable the DNS domain name resolution function.
Switch# configure terminal
Switch(config)# ip domain lookup
Switch(config)#
23-5 ip host
This command is used to configure the static mapping entry for the host name and the IP address in the
host table. Use the no form of the command to remove the static host entry.
ip host HOST-NAME {IP-ADDRESS | IPV6-ADDRESS}
no ip host HOST-NAME {IP-ADDRESS | IPV6-ADDRESS}
Parameters
HOST-NAME
Specifies the host name of the equipment.
IP-ADDRESS
Specifies the IPv4 address of the equipment.