nsupdate for default TTL

Carsten Strotmann cas at strotmann.de
Wed Dec 26 14:12:50 UTC 2012

Hello Feng He,

Feng He <fenghe at nsbeta.info> writes:

> Is there a way to dynamic update the zone's default TTL by nsupdate?

A default TTL (example $TTL 3600) is a property of a zone file on disk,
it is a control statement read by the BIND name server when loading the
zone file.

The default TTL is applied to all resource records that do not have a
dedicated TTL defined. After loading the zone, every resource record
will have a dedicated TTL and there is no "default TTL" in a loaded zone
(in memory).

Because there is no concept of a "default TTL" in a loaded zone, you
can only change the dedicated TTLs on each individual resource record
using the "nsupdate" tool.

Best regards and a good new year!

Carsten Strotmann

More information about the bind-users mailing list