Does TTL in reply DNS servers on the frequency of browser requests to a DNS?
do I understand correctly that the TTL in the DNS response to the browser will allow you to control the frequency of requests to DNS?
for example, the TTL for somesite.com there will be 100 seconds. if the user is within 100 seconds after the first query will not appeal to DNS, after 101 seconds will have to request the IP for a domain?
2 answers
TTL in the DNS response to the browser will allow you to control the frequency of requests to DNS?
Hypothetically: Yes.
In practice:
- Some intermediate DNS servers cacheroot response against TTL (as noticed @saboteur_kiev), but now it happens rarely.
- Some browsers have their own caching mechanisms of the DNS.
TTL does not affect the browser, and the DNS in General.
You have the DNS cache client OS
your DNS servers your cache
your DNS server has a DNS server that its cache
and so on to the root servers
but 100 seconds is very small, it is likely that on the way to your browser, a DNS server will not resolvida more often than xx, despite the settings of your TTL
Find more questions by tags BrowsersDomain name system
kb.mozillazine.org/Network.dnsCacheExpiration
kb.mozillazine.org/Network.dnsCacheEntries - Carli commented on July 9th 19 at 11:37