Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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