CLI Reference DNS Module Configuration Commands
DNS Module Configuration Commands
ip domain-lookup
Use this command 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
Global configuration mode.
This command enables the domain name resolution function.
The following example enables the DNS domain name resolution
function.
Ruijie(config)# ip domain-lookup
Show the DNS related configuration information.
ip host
Use this command to configure the mapping of the host name and the IP address by manual. Use the no form of
the command to remove the host list.
ip host host-name ip-address
no ip host host-name ip-address
The host name of the equipment
The IP address of the equipment
Global configuration mode.
To delete the host list, use the no ip host host-name ip-address
command.