gdnsd.djbdns(5)

gdnsd.djbdns5

Gdnsd support for the djbdns tinydns zone data format

Usage

  /etc/gdnsd/djbdns/my-djbdns-datafile:
    Zexample.com:a.ns.example.com:hostmaster.example.com::::::86400
    &example.com:192.0.2.1:a.ns.example.com.:86400
    &example.com:192.0.2.2:b.ns.example.com.:86400
    =foo.example.com:192.0.2.100:86400

Overview

This zone data backend implements the tinydns format described in <http://cr.yp.to/djbdns/tinydns-data.html>.

As of this writing, djbdns file format support is considered EXPERIMENTAL. Feel free to submit issues and/or pull requests to make the implementation and documentation more correct and complete! There are probably many legal djbdns zone datasets that do not load correctly (or at all) yet. However, there are users loading data from this in production.

The djbdns zone data backend loads all files found within the djbdns subdirectory of the daemon config directory, default /etc/gdnsd/djbdns/. Each file can contain multiple zones (identified by "Z" records).

At this time, unlike the RFC1035 zone data backend, the djbdns backend does not support automatic reloading of updates based on filesystem notification. It only explicitly reloads any changed data on "SIGUSR1" / "gdnsd reload-zones".

Supported record types

The following record types are implemented in the parser:

Z - SOA

The "Z" type denotes the existence of a zone and defines its SOA-record. All records within a file must be contained within a zone defined by a "Z" entry.

& - NS (+ A)

Implemented.

. - NS + SOA (+ A)

The "." type is meant to create an SOA along with the zone's NS records. At this time, gdnsd doesn't support this record for defining the SOA or a zone's existence, and treats it just like "&" above.

@ - MX (+ A)

Implemented.

+ - A

If the 5th field is "~~", this can be used to create "DYNA" records as well, with the "plugin!resource" part in the 2nd field.

= - A + PTR

The autogeneration of PTR records for "=" is not implemented yet, so this is treated identically to "+" above.

C - CNAME

If the 5th field is "~~", this can be used to create "DYNC" records as well, with the "plugin!resource" part in the 2nd field.

\ - TXT

Implemented.

S - SRV

Implemented.

N - NAPTR

Implemented.

3 - AAAA

Not yet implemented.

6 - AAAA + PTR

Not yet implemented.

^ - PTR

Not yet implemented.

: - Raw

Not yet implemented.

Releases

3 releases since Debian 8 (Jessie); the text changed 2 times.

  1. 8
  2. 9
  3. 10

From gdnsd 2.4.3-1 in Debian 10 (Buster). Parsed by carta from the page's man source.