non-24 bit subnets

Sam Wilson Sam.Wilson at ed.ac.uk
Fri Oct 8 11:01:19 UTC 2010


In article <mailman.387.1286393895.555.bind-users at lists.isc.org>,
 David Miller <dmiller at tiggee.com> wrote:

> You can have a different TTL for each and every record, if you like, in 
> the same zone file with no includes (the $TTL directive can appear 
> multiple times).
> 
> e.g. :
> 
> $TTL 300    ; 5 mins
> *    PTR    host-no-spec.example.com.
> $TTL 3600    ; 1 hour
> 17   PTR   mail.example.com.
> $TTL 1800    ; 30 mins
> 18   PTR   mail2.example.com.
> $TTL 86400    ;  1 day
> 19    PTR    whatever.example.com
> 20    PTR    whatever2.example.com
> 22    PTR    whatever2.example.com

Or

$TTL 86400    ;  1 day
*    300     PTR    host-no-spec.example.com.
17   3600    PTR   mail.example.com.
18   1800    PTR   mail2.example.com.
19           PTR    whatever.example.com
20           PTR    whatever2.example.com
22           PTR    whatever2.example.com

Or further variations.

Sam



More information about the bind-users mailing list