3.2.10. dns

Enclosing container for DNS resolver data.

vrouter running config# vrf <vrf> dns

server

List of the DNS servers that the resolver should query. When the resolver is invoked by a calling application, it sends the query to the first name server in this list. If no response has been received within ‘timeout’ seconds, the resolver continues with the next server in the list. If no response is received from any server, the resolver continues with the first server again. When the resolver has traversed the list ‘attempts’ times without receiving any response, it gives up and returns an error to the calling application. Implementations MAY limit the number of entries in this list.

vrouter running config# vrf <vrf> dns
vrouter running dns# server <server>

<server> values

Description

<A.B.C.D>

An IPv4 address.

<X:X::X:X>

An IPv6 address.

proxy

DNS proxy configuration.

vrouter running config# vrf <vrf> dns proxy

enabled

Enable or disable DNS proxy. By default, DNS proxy listens to requests on all networks and forwards them to local DNS servers (configured statically or obtained through DHCP).

vrouter running config# vrf <vrf> dns proxy
vrouter running proxy# enabled true|false
Default value
true

listen-to

Configure networks on which to listen to DNS requests. If not specified, DNS proxy listens to all networks.

vrouter running config# vrf <vrf> dns proxy
vrouter running proxy# listen-to LISTEN-TO

LISTEN-TO values

Description

<A.B.C.D/M>

An IPv4 prefix: address and CIDR mask.

<X:X::X:X/M>

An IPv6 prefix: address and CIDR mask.

forward

Configure name servers to forward the DNS requests to. If not specified, requests are forwarded to local DNS servers (configured statically or obtained through DHCP).

vrouter running config# vrf <vrf> dns proxy forward

server

The address of the DNS servers, can be either IPv4 or IPv6.

vrouter running config# vrf <vrf> dns proxy forward
vrouter running forward# server SERVER

SERVER values

Description

<A.B.C.D>

An IPv4 address.

<X:X::X:X>

An IPv6 address.

local

Forward DNS requests to local DNS servers (configured statically or obtained through DHCP).

vrouter running config# vrf <vrf> dns proxy forward
vrouter running forward# local