3.2.12. dns¶
Enclosing container for DNS resolver data.
vrouter running config# vrf <vrf> dns
search¶
An ordered list of domains to search when resolving a host name.
vrouter running config# vrf <vrf> dns
vrouter running dns# search SEARCH
SEARCH |
The domain-name type represents a DNS domain name. Fully quallified left to the models which utilize this type. Internet domain names are only loosely specified. Section 3.5 of RFC 1034 recommends a syntax (modified in Section 2.1 of RFC 1123). The pattern above is intended to allow for current practice in domain name use, and some possible future expansion. It is designed to hold various types of domain names, including names used for A or AAAA records (host names) and other records, such as SRV records. Note that Internet host names have a stricter syntax (described in RFC 952) than the DNS recommendations in RFCs 1034 and 1123, and that systems that want to store host names in schema nodes using the domain-name type are recommended to adhere to this stricter standard to ensure interoperability. The encoding of DNS names in the DNS protocol is limited to 255 characters. Since the encoding consists of labels prefixed by a length bytes and there is a trailing NULL byte, only 253 characters can appear in the textual dotted notation. Domain-name values use the US-ASCII encoding. Their canonical format uses lowercase US-ASCII characters. Internationalized domain names MUST be encoded in punycode as described in RFC 3492. |
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>
|
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
|
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
|
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
dns64¶
DNS64 configuration.
vrouter running config# vrf <vrf> dns proxy dns64 <dns64>
<dns64> |
An IPv6 prefix: address and CIDR mask. |
client¶
Clients IPv6 addresses.
vrouter running config# vrf <vrf> dns proxy dns64 <dns64>
vrouter running dns64 <dns64># client CLIENT
CLIENT |
An IPv6 prefix: address and CIDR mask. |
exclude¶
IPv6 addresses to exclude.
vrouter running config# vrf <vrf> dns proxy dns64 <dns64>
vrouter running dns64 <dns64># exclude EXCLUDE
EXCLUDE |
An IPv6 prefix: address and CIDR mask. |
mapped¶
IPv4 prefixes to be map in the corresponding A resource record set. If not defined it defaults to any.
vrouter running config# vrf <vrf> dns proxy dns64 <dns64>
vrouter running dns64 <dns64># mapped [not] PREFIX