3.2.14. dns-server

Note

requires a Product License.

DNS server configuration.

vsr running config# vrf <vrf> dns-server

enabled (pushed)

Enable DNS server.

vsr running config# vrf <vrf> dns-server
vsr running dns-server# enabled true|false
Default value
true

use-system-servers

Enable forwarding queries for not locally known hosts to upstream servers. These servers are defined in /config/vrf/dns/server.

vsr running config# vrf <vrf> dns-server
vsr running dns-server# use-system-servers true|false
Default value
true

bind

Interface on which DNS will listen.

vsr running config# vrf <vrf> dns-server
vsr running dns-server# bind BIND

BIND

An interface name.

record

Add hosts to the DNS with associated IPv4/IPv6 addresses.

vsr running config# vrf <vrf> dns-server
vsr running dns-server# record <record> IP

<record>

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.

IP

IPv4 or IPv6 addresses.

IP

IP

An IPv4 or IPv6 address.

logging

Log DNS queries.

vsr running config# vrf <vrf> dns-server logging

enabled

Enable logging DNS queries.

vsr running config# vrf <vrf> dns-server logging
vsr running logging# enabled true|false

server

Specify IP address of upstream servers.

vsr running config# vrf <vrf> dns-server
vsr running dns-server# server <server> source SOURCE

<server>

An IPv4 or IPv6 address.

source

IPv4 or IPv6 source address.

source SOURCE

SOURCE

An IPv4 or IPv6 address.