[nsd-users] nsd zonefile format

Andreas Schulze andreas.schulze at datev.de
Tue Nov 9 12:42:46 UTC 2010


I have a zonefile like this:

### snip ###
$TTL 1d

example.com.			SOA (
	.... )
example.com.			NS	ns1.example.com.
example.com.			NS	ns2.example.com.
example.com.		300	MX	42 mail.example.com.
example.com.			TXT	"v=spf1 +all"
ns1.example.com.		A
ns2.example.com.		A
mail.example.com.		A

### snap ###

Notice the intension to lower only the ttl for the mx.

The SOA and NS-Record use $TTL Valie 1d.
But all records *after* the mx have also a TTL of 300s.

What's my fault?
Who do I write a zonefile containing only those ttl which are different from $TTL ?
Is there a formal definition for zonefiles?

Thanks ...

Andreas Schulze
Internetdienste | P532

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
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