>
>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 you can put a TTL on an individual line:

     $TTL 300    ; 5 mins
     *    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

Those lines without a TTL get the first $TTL in the zone.
----------------------------------------------------------------------
Barry S. Finkel
Computing and Information Systems Division
Argonne National Laboratory          Phone:    +1 (630) 252-7277
9700 South Cass Avenue               Facsimile:+1 (630) 252-4601
Building 240, Room 5.B.8             Internet: bsfin...@anl.gov
Argonne, IL   60439-4828             IBMMAIL:  I1004994

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

Reply via email to