mirror of
https://github.com/NLnetLabs/domain.git
synced 2026-09-23 18:24:59 +02:00
Add XFR middleware and: - Fixes a bug where the incorrect owner name was passed to the zone walker callback. - New `ixfr-client.rs` example. - Updated `serve-zone.rs` example demonstrating TSIG authenticated XFR and NOTIFY middlewares. - Additional From impls for CallResult. - Renames ZoneDiff to InMemoryZoneDiff. - Renames ZoneDiffBuilder to InMemoryZoneDiffBuilder. - Introduces new ZoneDiff and related traits. - Adds AnswerContent::first().
24 lines
803 B
Plaintext
24 lines
803 B
Plaintext
; 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.
|