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:
chef.tech-recipes.com. 1 IN A 192.168.5.100
Other resource records can have the overriding TTL set in the same manner:
tech-recipes.com. 1 IN MX 10 mx1.tech-recipes.com.
Follow the reactions below and share your own thoughts.