[nsd-users] nsd zonefile format
Marc Schneiders
marc at schneiders.org
Tue Nov 9 13:41:44 UTC 2010
Or, for the realy lazy, put the MX record at the bottom of the list.
On Tue, 9 Nov 2010, Matthijs Mekking wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Andreas,
>
> This is according to spec. RFC 1035 says that omitted class and TTL
> values are default to the last explicitly stated values. If you want the
> records after the MX to have a TTL of 1d, you should add explicitly say
> so; either by adding the line:
>
> $TTL 1d
>
> after the MX record, or by giving the TXT record an explicit TTL of 1d.
>
> Best regards,
>
> Matthijs
>
> On 11/09/2010 01:42 PM, Andreas Schulze wrote:
>> Hello,
>>
>> 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 192.0.2.1
>> ns2.example.com. A 192.0.2.1
>> mail.example.com. A 192.0.2.3
>>
>> ### 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 ...
>>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQEcBAEBAgAGBQJM2UZfAAoJEA8yVCPsQCW5C70IAMr7dS/3yOH5JdMnnPRp7HM/
> rjyVhEZS7j6o9uVfHIS9tdtCLADrQ7s93T03SBpoMTkL71IfpN0gnfMgtHkwUrQE
> EqE/qfo9q2+5Il22YczYUn3v2Fum1215IYcGl96bseyGhHSgiqyxw8wS9qS2pabX
> 3oxBxzvy26nXNm8bekramK1jk+JJPM2DeOcnFKDhUKFvELsHGpt8GjnTWN95gpzC
> i9z3gvqUx9Io8W7yA8tqgvkW9O+lxO3oDioay+Ic5v3PmpslcifI/PeO6nxEoZsy
> 5GNsjplngIHdc1dL4D5+W3QLSC2JGM0e7gbp8xutrmilttkG24Zz/eMJsB4XFlk=
> =qwOa
> -----END PGP SIGNATURE-----
> _______________________________________________
> nsd-users mailing list
> nsd-users at NLnetLabs.nl
> http://open.nlnetlabs.nl/mailman/listinfo/nsd-users
>
More information about the nsd-users
mailing list