Microtech Knowledgebase
| Search the knowledgebase | |
| Article ID : # | Last review : 2009-10-27 00:00:00 |
| #5431 | DNS Time to Lives (or TTLs) |
||||||||||
DNS Time to Live's (or TTL's) Setting the TTL inappropriately for your domain can have significant side effects in terms of dns traffic and web site performance. This document is intended to suggest reasonable TTL's (time to live's) and give some information on best practices for your domains. Why is the TTL important? The downside of a long ttl The benefit's or a short TTL Finding a balance Some dns records rarely if ever change. Mail servers and name servers are prime examples. It makes good sense to set these records at 24 hours or more. Some registries will even insist on it. Below are some recommended minimum TTL's for various record types. Set them longer if you can, but no so absurdly long that they take weeks to change if you do change them.
Note, these are recommended minimums. If you can set your TTL longer, then do so. It will improve your sites performance globally for many users and reduce the load on worldwide dns infrastructure. As of 2009, the dns infrastructure of many ISP's is overloaded. This has been mostly caused by the social networking phenomenon that has erupted over the last few years. Some organizations such as the department of defense have even blocked these sites completely to preserve resources. A single myspace page can have 100 or more dns lookups. Some larger ISP's have reported 10% of the dns capacity taken by myspace alone. Many ISP's have struggled to maintain high performance dns lookup service with this rapid increase in dns traffic. Setting your TTL's longer will help avoid performance issues for users accessing your sites. Setting your TTL's lower than 3 minutes for an 'www' record for example is pointless. Internet explorer will internally cache a dns lookup for 30 minutes, and Firefox for 3 minutes. These 2 browsers account for the vast majority of all web browsers. New visitors will of course get the new dns record quicker, but people surfing your site at the moment it changes will probably not. Make use of the dns traffic graphs on Microtech's web site if you are using Microtech's dns services to see the affects of changing your TTL's. If the traffic shows no real difference, then live with the benefits of a reduced TTL perhaps. If your dns traffic shows a dramatic reduction, seriously consider keeping the longer TTL to improve performance. Preparing for a move.
Not all ISP's allow you this sort of granular dns access or reporting. Microtech's DNS service gives you full control over individual DNS records TTL's and provides very detailed reporting on dns usage enabling you to performance tune your domains dns. |
|||||||||||
So that we can improve our search results, please let us know, did this help you? YES | NO Please note that all articles are the property of Microtech Limited and must not be re-produced without express written permission |
|||||||||||
| #5441 | DNS time to Lives (or TTLs) |
||||||||||
DNS Time to Live's (or TTL's) Setting the TTL inappropriately for your domain can have significant side effects in terms of dns traffic and web site performance. This document is intended to suggest reasonable TTL's (time to live's) and give some information on best practices for your domains. Why is the TTL important? The downside of a long ttl The benefit's or a short TTL Finding a balance Some dns records rarely if ever change. Mail servers and name servers are prime examples. It makes good sense to set these records at 24 hours or more. Some registries will even insist on it. Below are some recommended minimum TTL's for various record types. Set them longer if you can, but no so absurdly long that they take weeks to change if you do change them.
Note, these are recommended minimums. If you can set your TTL longer, then do so. It will improve your sites performance globally for many users and reduce the load on worldwide dns infrastructure. As of 2009, the dns infrastructure of many ISP's is overloaded. This has been mostly caused by the social networking phenomenon that has erupted over the last few years. Some organizations such as the department of defense have even blocked these sites completely to preserve resources. A single myspace page can have 100 or more dns lookups. Some larger ISP's have reported 10% of the dns capacity taken by myspace alone. Many ISP's have struggled to maintain high performance dns lookup service with this rapid increase in dns traffic. Setting your TTL's longer will help avoid performance issues for users accessing your sites. Setting your TTL's lower than 3 minutes for an 'www' record for example is pointless. Internet explorer will internally cache a dns lookup for 30 minutes, and Firefox for 3 minutes. These 2 browsers account for the vast majority of all web browsers. New visitors will of course get the new dns record quicker, but people surfing your site at the moment it changes will probably not. Make use of the dns traffic graphs on Microtech's web site if you are using Microtech's dns services to see the affects of changing your TTL's. If the traffic shows no real difference, then live with the benefits of a reduced TTL perhaps. If your dns traffic shows a dramatic reduction, seriously consider keeping the longer TTL to improve performance. Preparing for a move.
Not all ISP's allow you this sort of granular dns access or reporting. Microtech's DNS service gives you full control over individual DNS records TTL's and provides very detailed reporting on dns usage enabling you to performance tune your domains dns. |
|||||||||||
So that we can improve our search results, please let us know, did this help you? YES | NO Please note that all articles are the property of Microtech Limited and must not be re-produced without express written permission |
Subscribe to kb news feed
