CLI Reference DNS Module Configuration Commands
Ruijie(config)# ip host switch 192.168.5.243
Show the DNS related configuration
information.
ip name-server
Use this command to configure the IP address of the domain name server. Use the no form of this command to
delete the configured domain name server.
ip name-server {ip-address | ipv6-address}
no ip name-server [ip-address| ipv6-address ]
The IP address of the domain name
server.
The IPv6 address of the domain name
server.
Global configuration mode.
Add the IP address of the DNS server. Once this command is
executed, the equipment will add a DNS server. When the device
cannot obtain the domain name from a DNS server, it will attempt to
send the DNS request to subsequent servers until it receives a
response.
Up to 6 DNS servers are supported. You can delete a DNS server
with the ip-address option or all the DNS servers.
Ruijie(config)# ip name-server 192.168.5.134
Ruijie(config)# ip name-server
2001:0DB8::250:8bff:fee8:f800 2001:0DB8:0:f004::1
Show the DNS related configuration
information.