OcNOS-SP : System Management Guide : System Management Command Reference : DHCP Server Commands : dns-server A.B.C.D
dns-server A.B.C.D
Use this command to specify a DNS name server in the IPv4 DHCP server pool. Multiple name servers can be added to the pool.
Use the no form of this command to delete a DNS name server details from the IPv4 DHCP server pool.
Command Syntax
dns-server A.B.C.D
no dns-server A.B.C.D
Parameters
A.B.C.D
IPv4 DNS name server address
Default
No default value is specified
Command Mode
DHCP configure mode
Applicability
This command was introduced in OcNOS version 6.1.0.
Examples
#configure terminal
(config)#ip dhcp server pool test-pool
(dhcp-config)#dns-server 10.12.3.23
 
#configure terminal
(config)#ip vrf vrf1
(config-vrf)#ip dhcp server pool test-pool
(dhcp-config)#dns-server 10.12.3.23
Last modified date: 10/19/2023