DDNS TTL in 4.3

Tony Finch dot at dotat.at
Wed Apr 22 10:17:37 UTC 2015


Doug Barton <dougb at dougbarton.email> wrote:
>
> In 4.2 and previous it was true that the TTL sent for DDNS requests was 1/2
> the default lease time. In 4.3 it seems that there is no TTL value sent, so
> the DDNS records simply inherit the zone default TTL.

The DNS UPDATE protocol does not allow you to omit the TTL so this
explanation cannot be right! Also the zone default TTL is just an
abbreviation allowed by the master file format, and it doesn't exist
in other parts of the DNS protocol.

I think what you are observing is that isc-dhcp by default caps the TTL to
one hour, which happens to be the same as your default TTL.

There is an item in the release notes:

https://source.isc.org/cgi-bin/gitweb.cgi?p=dhcp.git;a=blob;f=RELNOTES;hb=HEAD#l683

and a helpful comment in the source code:

https://source.isc.org/cgi-bin/gitweb.cgi?p=dhcp.git;a=blob;f=server/ddns.c;hb=HEAD#l345

Tony.
-- 
f.anthony.n.finch  <dot at dotat.at>  http://dotat.at/
Viking, North Utsire: Westerly or northwesterly 4, increasing 5 to 7 for a
time. Slight, becoming moderate or rough. Occasional rain, fog patches at
first. Moderate or good, occasionally very poor at first.


More information about the dhcp-users mailing list