home

Supported platforms

Vyatta NOS documentation

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

service dns forwarding dhcp <interface>

Specifies an interface on which DHCP updates to name server information are received.

set service dns forwarding dhcp interface
delete service dns forwarding dhcp interface
show service dns forwarding dhcp interface

The system forwards DNS requests to all configured name servers and all name servers specified through DHCP.

interface
Multinode. An interface that is to receive name server information updates from a DHCP server.

Configuration mode


service {
	dns {
		forwarding {
			dhcp interface 
		}
	}
}

Use this command to specify an interface that is to act as a DHCP client and receive updates to DNS name server information. The Vyatta router uses this information to forward DNS requests from its local clients to the name server.

To be configured to listen for updates to name server information, the interface must be configured to obtain its own IP address through DHCP; that is, it must be configured as a DHCP client. Refer to Ciena Vyatta Network OS LAN Interfaces Configuration Guide for information about configuring the IP address of a physical interface.

By default, the DNS forwarding service creates a pool of name servers to which it forwards DNS requests; this pool comprises any name servers statically configured for the system (by using the system name-server command) and those of which it is notified through DHCP. This command overrides the default behavior: when an interface is specified by using this command, the system attends to DHCP name server information updates arriving on the specified interface.

This command can be combined with service dns forwarding name-server <ipv4>, 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 an interface to be used as the source of updates to the DHCP name server.

Use the delete form of this command to restore the default method of receiving updates to the name server, that is, the system forwards DNS requests to all configured name servers and all name servers specified through DHCP.

Use the show form of this command to view DNS forwarding DHCP update configuration.