Specifications

dns-server
476
dns-server
Sets the domain name server option that is distributed to clients. The domain name server
option is the IP address of a DNS server that a client can use.
Syntax
To set or change information:
dns-server <IP address> [<IP address>]
To delete information:
no dns-server
Input mode
(dhcp-config)
Parameters
<IP address>
Sets the IP address of the DNS server that a client can use. Specify the address of
the server with the highest priority first.
1. Default value when this parameter is omitted:
This parameter cannot be omitted.
2. Range of values:
1.0.0.0 to 126.255.255.255, 128.0.0.0 to 223.255.255.255
The following addresses cannot be set:
- 127.0.0.0 to 127.255.255.255
Default behavior
None
Impact on communication
None
When the change is applied
The change is applied immediately after setting values are changed.
Notes
1. A maximum of two DNS server IP addresses can be specified for a pool.
Related commands
ip dhcp pool