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 dns forwarding name-server <ipv4>

Specifies a name server to which to forward DNS requests.

set service dns forwarding name-server ipv4
delete service dns forwarding name-server ipv4
show service dns forwarding name-server ipv4
ipv4
Optional. Multinode. The IPv4 address of a name server to which to forward DNS requests.

You can forward DNS requests to more than one name server by creating multiple name-server configuration nodes.

Configuration mode


service {
	dns {
		forwarding {
			name-server ipv4 
		}
	}
}

Use this command to specify a name server to which client DNS requests are forwarded.

Use of this command is optional. By default, the DNS forwarding service creates a default pool of name servers that comprises those statically configured by using the system name-server command plus those of which it was notified using DHCP. This command overrides the defaults: when this command is used, the system forwards DNS requests to the specified name server or servers.

This command can be combined with service dns forwarding dhcp <interface>, service dns forwarding system, or both commands to provide a larger pool of candidate name servers.

Use the set form of this command to specify a name server to which to forward DNS requests.

Use the delete form of this command to remove a name server from the list of name servers to which to forward DNS requests. If the last specified server is removed, the default forwarding behavior is restored.

Use the show form of this command to display the name servers to which DNS requests are forwarded.