Thursday, May 16, 2024
HomeUNIX softwareBIND and DNSDNS/BIND: set TTL for individual resource records

DNS/BIND: set TTL for individual resource records

BIND resource records allow an explict TTL value that will override the zone file’s TTL for that specific resource record. One use for this is to prevent non-authoritative servers from caching these records, perhaps in prelude to changing a server’s IP address.

To set the TTL for an address record to 1 (the minimum recommended value), use: 1 IN A

Other resource records can have the overriding TTL set in the same manner: 1 IN MX 10

Quinn McHenry
Quinn McHenry
Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.


Please enter your comment!
Please enter your name here

Most Popular


Recent Comments

error: Content is protected !!