Configuration Guide DNS Configuration
Ruijie(config)# ip domain-lookup
Configuring the DNS Server
This section describes how to configure the DNS server. The dynamic domain
name resolution can be carried out only when the DNS Server is configured.
The no ip name-server [ip-address] command can be used to remove the DNS
server. Where, the ip-address parameter indicates the specified DNS server to
be removed. If this parameter is omitted, all the DNS servers will be removed.
Ruijie(config)# ip
name-server ip-address
Add the IP address of the DNS Server. The switch
will add a DNS Server when this command is
executed every time. If the domain name can‟t be
obtained from the first DNS Server, the switch will
send the DNS request to the subsequent several
servers until the correct response is received. The
system can support six DNS servers at most.
Configuring the Host Name to IP Address Mapping Statically
This section describes how to configure the host name to IP address mapping.
The switch maintains a host name to IP address corresponding table, which is
also referred to as the host name to IP address mapping table. You can obtain
the mapping table in two ways: manual configuration and dynamic learning.
Ruijie(config)# ip host
host-name ip-address
Configure the host name to IP address
mapping manually.
This command with the parameter no can be used to remove the mapping
between the host name and IP address.
Clearing the Dynamic Buffer Table of Host Names
This section describes how to clear the dynamic buffer table of host names. If
the command clear host or clear host * is entered, the dynamic buffer table will
be cleared. Otherwise, only the entries of specified domain names will be
cleared.
Ruijie# clear host [word]
Clear the dynamic buffer table of host
names.
The host names configured statically
will not be removed.