home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

service dhcp-server shared-network-name <name> subnet <ipv4net> dns-server <ipv4>

Specifies the address of a DNS server for DHCP clients.

set service dhcp-server shared-network-name name subnet ipv4net dns-server ipv4
delete service dhcp-server shared-network-name name subnet ipv4net dns-server ipv4
show service dhcp-server shared-network-name name subnet ipv4net dns-server
name
Mandatory. A DHCP address pool.
ipv4net
Mandatory. Multinode. The IPv4 network served by the DHCP address pool. The format is ip-addr/prefix.
ipv4
Optional. Multinode. The IPv4 address of a DNS server.

You can specify more than one DNS server by entering this command multiple times.

Configuration mode


service {
	dhcp-server {
		shared-network-name name {
			subnet ipv4net {
				dns-server ipv4
			}
		}
	}
}

Use this command to specify the address of a DNS server that is available to DHCP clients.

Use the set form of this command to specify the address of a DNS server.

Use the delete form of this command to remove DNS server configuration.

Use the show form of this command to view DNS server configuration.