Re: Globally setting TTL

2011-01-26 Thread Paul Ooi Cong Jen

On 26-Jan-2011, at 5:21 PM, Torinthiel wrote:

> Dnia 2011-01-26 00:21 Eivind Olsen napisał(a):
> 
>>> Is it possible to globally set (override) the default TTL for all zones
>>> and their subsequent records?
>> 
>> You're thinking about the authoritative zones you host? I am not aware of
>> any such setting, but it might be possible to use $INCLUDE in the
>> zonefiles and include a file which contains "$TTL 86400" or whatever. Try
>> it and see if that works for you :D
> 
> You can still type $TTL 86400 in your zone file, which will have the same 
> effect. (although might be harder to change for more zones). But still this 
> is ony the default, if an entry contains it's own TTL it will take 
> precedence.
> Other than sed'ing/awk'ing the zone files I see no other options.

That right, you can do sed-ing :) 

> 
> Torinthiel
> ___
> bind-users mailing list
> bind-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users

___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: Globally setting TTL

2011-01-26 Thread Torinthiel
Dnia 2011-01-26 00:21 Eivind Olsen napisał(a):

>> Is it possible to globally set (override) the default TTL for all zones
>> and their subsequent records?
>
>You're thinking about the authoritative zones you host? I am not aware of
>any such setting, but it might be possible to use $INCLUDE in the
>zonefiles and include a file which contains "$TTL 86400" or whatever. Try
>it and see if that works for you :D

You can still type $TTL 86400 in your zone file, which will have the same 
effect. (although might be harder to change for more zones). But still this 
is ony the default, if an entry contains it's own TTL it will take 
precedence.
Other than sed'ing/awk'ing the zone files I see no other options.

Torinthiel
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: Globally setting TTL

2011-01-25 Thread Paul Ooi Cong Jen

On 26-Jan-2011, at 3:09 AM, Fred Zinsli wrote:

> Hi all
> 
> New to bind or any form of DNS.
> 
> Is it possible to globally set (override) the default TTL for all zones
> and their subsequent records?

Only can be configured in zone file, don't think there is something which can 
configure globally. 

> 
> Regards
> 
> Fred
> 
> ___
> bind-users mailing list
> bind-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users

___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: Globally setting TTL

2011-01-25 Thread Eivind Olsen
> Is it possible to globally set (override) the default TTL for all zones
> and their subsequent records?

You're thinking about the authoritative zones you host? I am not aware of
any such setting, but it might be possible to use $INCLUDE in the
zonefiles and include a file which contains "$TTL 86400" or whatever. Try
it and see if that works for you :D

Regards
Eivind Olsen


___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Globally setting TTL

2011-01-25 Thread Fred Zinsli
Hi all

New to bind or any form of DNS.

Is it possible to globally set (override) the default TTL for all zones
and their subsequent records?

Regards

Fred

___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users