Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

nsupdate for default TTL

87 views
Skip to first unread message

Feng He

unread,
Dec 26, 2012, 4:25:40 AM12/26/12
to bind-...@lists.isc.org
Hi

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

Thanks and Merry Xmas!

Carsten Strotmann

unread,
Dec 26, 2012, 9:12:50 AM12/26/12
to Feng He, bind-...@lists.isc.org

Hello Feng He,

Feng He <fen...@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

Feng He

unread,
Dec 26, 2012, 8:25:30 PM12/26/12
to Carsten Strotmann, bind-...@lists.isc.org
锟斤拷 2012-12-26 22:12, Carsten Strotmann 写锟斤拷:
> 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.

Thanks Carsten.
Happy new year!
0 new messages