Command Reference DNS Commands
This function is enabled by default.
Global configuration mode.
This command enables the domain name resolution function.
The following example disables the DNS domain name resolution function.
Ruijie(config)# no ip domain-lookup
Displays the DNS related configuration
information.
Use this command to configure the mapping of the host name and the IP address. 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.
The following example configures IPv4 address 192.168.5.243 for domain name www .test.com.
Ruijie(config)# ip host www.test.com 192.168.5.243