I'm finding that the TTL value on all our zones is defaulting to 1h (3600) regardless of what figure is specified in in the SOA
i can override this by specifying a $TTL but NSD should pick up the last figure in the SOA as a TTL also (this is how it works int bind and I haven't seen anything to suggest NSD works differently) - anyone know why this isn't working?
regards
Liam.
no, it shouldn't. See RFC 2308 for the redefinition of the "minimum TTL"
field and introduction of $TTL.
-Peter
so in the absence of $TTL it is using 3600
do you know where it is getting this from - is it an NSD default?
Peter Koch wrote:
[Quoting Liam Kennedy, on Jul 20, 14:42, in "Re: TTL value in SOA ..."]
so in the absence of $TTL it is using 3600
do you know where it is getting this from - is it an NSD default?
Yes, it's deined in zonec.c:
#define DEFAULT_TTL 3600
-- ted
a message of 27 lines which said:
do you know where it is getting this from - is it an NSD default?
Yes, in zonec.h:
#define DEFAULT_TTL 3600
yes, the zone compiler calls zone_open with a default of "3600" (strange
enough, that's not DEFAULT_TTL although it matches its value). Could be
made an option ("-t"?) to zonec, though.
-Peter
Ted Lindgreen wrote:
[Quoting Liam Kennedy, on Jul 20, 14:42, in "Re: TTL value in SOA ..."]
so in the absence of $TTL it is using 3600
do you know where it is getting this from - is it an NSD default?
Yes, it's deined in zonec.c:
#define DEFAULT_TTL 3600
cool - I've added explicit $TTLs to the zone files
thanks all for your help.
Liam.