Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is my SOA for one of my zones. Shouldn't this give me a 10 minute TTL for all the records in this zone? dig is telling me differently. What do I have wrong here?

@       1D IN   SOA (
                                    2012062101 ; Serial
                                    10M ; Refresh
                                    10M ; Retry
                                    7D ; Expire
                                    10M ) ; Minimum TTL

$ dig @
;; ANSWER SECTION:       85949   IN      A
share|improve this question
up vote 7 down vote accepted
$TTL 600       ; 10 minutes
  • this added on the top of the zone file will give you TTL 10min for all entries. The TTL in SOA is for domain name and not for the records.

If you have records which do e.g. 1 minute, on the bottom add:

$TTL 600       ; 10 minutes

.. all your zone fine which will default to 10 minutes
ftp IN A

$TTL 300       ; 5 minutes
www IN A
share|improve this answer
Thank you! I'm still seeing some strange results when I dig @, but that could be because stuff is already cached. I'll check everything again in the morning. – danielj Jun 21 '12 at 22:36
But this is not the best solution to put 10min TTL on all records. The smallest values for high usage is 1h for all records and absolute minimum is 1m for dynamic ones, like "www" if you have some sort of monitoring and load balancing on it. But the 10m should work just fine, however the NS records should have higher value. – Andrew Smith Jun 22 '12 at 10:14
Thanks again for your help. It worked perfectly. – danielj Jun 22 '12 at 14:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.