DGS-6604 mm dns-server
CLI Reference Guide
162
dns-server
This command configures the IP address list of DNS servers available to DHCP
clients. Use the no form of this command to remove the DNS server list.
dns-server IP-ADDRESS
no dns-server [IP-ADDRESS]
Default None
Command Mode DHCP pool configuration
Usage Guideline This command configures the IP address list of DNS servers available to DHCP
clients under the DHCP pool configuration mode. Servers are listed in order of
preference. If the number of servers is more than 1, then execute this command
multiple times with different server IP addresses.
Example This example shows how to specify 10.1.1.1 as the IP address of DNS server in
DHCP address pool.
Syntax Description
IP-ADDRESS Specifies the IP address of DNS server to DHCP clients.
switch# configure terminal
switch(config)# ip dhcp pool pool1
switch(config-dhcp)# dns-server 10.1.1.1