Use the “dns” command to configure or display DNS (Domain Name System) settings.
View setting
The following command displays current DNS settings:
msh> dns
Using the DNS server obtained from the DHCP server
The following command enables/disables use the DNS server obtained from the DHCP server:
msh> dns dhcp {valid | invalid}
If you use the DNS server obtained from the DHCP server, select “valid”. If not, select “invalid”.
If you set “valid”, the DNS server from the DHCP server is prioritized.
DNS server configuration
The following command enables/disables use of the DNS server address:
msh> dns number server server_address
The following is a sample configuration using an IP address of 192.168.15.16 on DNS 1 server:
msh> dns 1 server 192.168.15.16
You can register up to three DNS server numbers.
You cannot use “255.255.255.255” as the DNS server address.