DHCP Instance 17-15
17.1.9 dns-server
DHCP Config Commands
Use this command to configure the DNS server’s IP address available to the DHCP clients connected to the pool. Use
the
no dns-server
command to remove DNS server list.
Syntax
dns-server <A.B.C.D> {<A.B.C.D> <A.B.C.D> .....<A.B.C.D>}
Parameters
Usage Guidelines
For DHCP client’s, the DNS server’s IP address is used to map the host name to IP address. The DHCP client uses the
DNS servers IP address based on the order (sequence) configured.
Example
RFS7000(config-dhcp)#dns-server 2.2.2.222
RFS7000(config-dhcp)#
RFS7000(config-dhcp)#show dhcp config
!
ip dhcp pool WID
dns-server 2.2.2.222
default-router 2.2.2.1
ddns domainname TestDomain.com
ddns ttl 200
class test
class RFS7000DHCPclass
!
ip dhcp pool poo1
!
ip dhcp pool pool1
address range 2.2.2.2 2.2.2.100
RFS7000(config-dhcp)#
dns-server <
A.B.C.D
> Configures the DNS server’s IP address.
•<
A.B.C.D>
– DNS server's IP address.
Comments to this Manuals