Knowledgebase: DNS
What is a query?
Posted by Darren Radsmith on 16 March 2006 11:54 AM

A query is generated anytime that someone requests resolution of a host name within your domain to its IP address from our name servers. It can be thought of as anytime someone requests your sites address if the information is not in cache (of the resolving name server). The number of queries that you receive is related to the amount of traffic that your domain receives (from web, mail, etc..).

If an answer to a DNS query is cached in a clients resolving name server, the query does not need to be made against a DNS Made Easy name server (resulting in a "counted" query) as it is already cached. DNS query responses cache in resolving name servers based on their TTL. TTL's are user defined on a per record basis in DNS Made Easy.

The TTL is the amount of time that your record will cache in remote systems / resolving name servers. So the longer the TTL the less frequent remote systems will lookup your DNS record and the less query traffic you receive. The shorter the configured TTL, the faster DNS changes propagate in servers that have cache data, however the higher the volume of query traffic you receive.

DNS Made Easy suggests all records that are using Failover or on Dynamic IPs have TTL's set anywhere from 180 to 600 (3 to 10 minutes cache). Records that are static and don't change often should have TTL's set between 1800 (being on the low end) to 86400 seconds (30 minutes to 1 day cache). Any added NS records or glue records for vanity DNS configuration should have high TTL's set. You can always lower the TTL before you make a record change and then raise it back up again.

(846 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).