[nsd-users] nsd zonefile format
Andreas Schulze
andreas.schulze at datev.de
Tue Nov 9 15:31:03 UTC 2010
Am 09.11.2010 16:10 schrieb Matthijs Mekking:
> May I ask you what version NSD you are using? I tried to load a similar
> zone in the latest version and all records except the MX have a TTL of 1d.
it's nsd-3.2.6 build from source an ldnsutils 1.6.5
to be precise: the zone in question is "t-isa.de"
the zonefile:
--- snip
$TTL 1d
t-isa.de. SOA (
nsd01.t-isa.de. hostmaster-soa.datev.de. 2010110902 4h 4444s 40d 40m )
t-isa.de. NS nsd01.t-isa.de.
t-isa.de. NS nsd02.t-isa.de.
t-isa.de. 300 MX 0 mailin11.t-isa.de.
t-isa.de. TXT "v=spf1 ip4=193.27.48.0/21 -all"
t-isa.de. SPF "v=spf1 ip4=193.27.48.0/21 -all"
nsd01.t-isa.de. A 193.27.50.9
nsd02.t-isa.de. A 193.27.54.9
...
--- snap
and thats what "ldns-read-zone t-isa.de" prints out:
t-isa.de. 86400 IN SOA nsd01.t-isa.de. hostmaster-soa.datev.de. 2010110902 14400 4444 3456000 2400
t-isa.de. 86400 IN NS nsd01.t-isa.de.
t-isa.de. 86400 IN NS nsd02.t-isa.de.
t-isa.de. 300 IN MX 0 mailin11.t-isa.de.
t-isa.de. 300 IN TXT "v=spf1 ip4=193.27.48.0/21 -all"
t-isa.de. 300 IN SPF "v=spf1 ip4=193.27.48.0/21 -all"
nsd01.t-isa.de. 300 IN A 193.27.50.9
nsd02.t-isa.de. 300 IN A 193.27.54.9
...
up to this point only ldns is involved.
next players are ldns-signzone and zonec.
public verifyable is this:
$ dig @nsd01.t-isa.de t-isa.de any +noall +answer| grep -v DNSKEY | grep -v RRSIG
;; Truncated, retrying in TCP mode.
t-isa.de. 86400 IN SOA nsd01.t-isa.de. hostmaster-soa.datev.de. 2010110902 14400 4444 3456000 2400
t-isa.de. 86400 IN NS nsd01.t-isa.de.
t-isa.de. 86400 IN NS nsd02.t-isa.de.
t-isa.de. 300 IN MX 0 mailin11.t-isa.de.
t-isa.de. 300 IN TXT "v=spf1 ip4=193.27.48.0/21 -all"
t-isa.de. 3600 IN TYPE51 \# 5 0100000100
t-isa.de. 300 IN TYPE99 \# 31 1E763D73706631206970343D3139332E32372E34382E302F3231202D 616C6C
Andreas
--
Andreas Schulze
Internetdienste | P532
DATEV eG
90329 Nürnberg | Telefon +49 911 319-0 | Telefax +49 911 319-3196
E-Mail info @datev.de | Internet www.datev.de
Sitz: 90429 Nürnberg, Paumgartnerstr. 6-14 | Registergericht Nürnberg, GenReg Nr.70
Vorstand
Prof. Dieter Kempf (Vorsitzender)
Dipl.-Kfm. Wolfgang Stegmann (stellvertretender Vorsitzender)
Dipl.-Kfm. Michael Leistenschneider
Jörg Rabe v. Pappenheim
Dipl.-Vw. Eckhard Schwarzer
Vorsitzender des Aufsichtsrates: Reinhard Verholen
More information about the nsd-users
mailing list