domain 0.12.0

A DNS library for Rust.
Documentation
; From: https://nsd.docs.nlnetlabs.nl/en/latest/zonefile.html#creating-a-zone
$ORIGIN example.com.
$TTL 86400 ; default time-to-live for this zone

example.com.   IN  SOA     ns.example.com. noc.dns.example.org. (
        2020080302  ;Serial
        7200        ;Refresh
        3600        ;Retry
        1209600     ;Expire
        3600        ;Negative response caching TTL
)

; The nameservers that are authoritative for this zone.
                                NS      example.com.

; A and AAAA records are for IPv4 and IPv6 addresses respectively
example.com.    A       192.0.2.1
                                AAAA 2001:db8::3

; A CNAME redirects from www.example.com to example.com
www                             CNAME   example.com.

mail                    MX      10      example.com.

; ENTs for NSEC3 testing purposes.
some.ent     A       127.0.0.1
x.y.mail     A       127.0.0.1
a.b.c.mail   A       127.0.0.1

; An unsigned delegation for NSEC3 testing purposes.
unsigned     NS      some.other.ns.net

; A signed delegation for NSEC3 testing purposes.
signed       NS      some.other.ns.net
             DS      60485 5 1 ( 2BB183AF5F22588179A53B0A 98631FAD1A292118 )