Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

Whats bestpratice TTL for hightraffic www sites? Should there be a high TTL to make dnsservers around cache longer so the dnsserver wont have to get requests to often?

share|improve this question

I can't tell you what TTL value to set, you can set it quite high (let say 1 day) but take care that if a day you need to do a maintenance and want to switch the resolution to a new IP . Until the TTL expire you may have request on the old IP. In some case it is OK because both IP will still work, in some case the old IP is not available after maintenance. In this last case you will probably want to decrease the TTL value before you maintenance to reduce the downtime for users.
So take care of this, if you think you could have to reduce TTL someday your dns server need to be able to enough powerful to handle that.

share|improve this answer
So if my dns servers handle it i may want to have a low TTL incase of emergency-maintenance etc. – hest Jun 4 '10 at 7:07
Probably, but do not set it to low.. it's faster for users if ISP DNS Cache can reply directly. From my point of view 30m is a good mean to have quite good caching and low outage in case of emergency change – radius Jun 4 '10 at 10:48

Your Answer


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