Hi All
We're currently trying to consider whether we should use conditional forwarding vs secondary zones for our new mail hosting. The only thing I'm stuck on is how long records get cached for in each scenario. Is this pre-determined by the SOA record for both scenario ?
Scenario 1:
Conditional Forwarding for mydomain.com
SOA record for mydomain.com says the TTL is 2,592,000 (30 days)
On 1st of the month a user queries mail1.mydomain.com, the local DNS server doesn't have it in it's cache so it forwards it to the Primary DNS server for mydomain.com and caches the result.
Users continue doing their work, just querying mail.mydomain.com and always getting the cached record. On 15th of the month, a user queries webmail.mydomain.com, the local DNS server doesn't have this in it's cache, so it forwards it to the primary server for mydomain.com and caches the result
Question 1:
The cached record for mail.mydomain.com will expire on 30th of the month - but when will the cached record for webmail.mydomain.com expire ? Also on 30th of the month, or on 15th of the following month ?
Question 2:
If the server is restarted on 20th of the month, I presume it's cache is lost, is that correct ? In this case it has to forward the query for mail.mydomain.com to the Primary server and I presume this cached record would expire on 20th of the following month (assuming the query was done on the same day) ??
Scenario 2:
Secondary Zone for mydomain.com setup and trasnferred on 1st of the month
SOA record for mydomain.com says the TTL is 2,592,000 (30 days)
Question 3:
At the end of the month, what happens to my secondary zone ? Is the whole thing transferred again ? What about if there are no changes ?
Question 4:
If a new record is added to the Primary server on 10th of the month, am I right in saying there is no "trigger event" that can cause the new record to be transferred to the secondary zone on my local DNS server ? I will have to wait until the end of the month when the zone "expires" and then it will get transferred ?
Question 5:
Is there a limit on the amount of times a DNS query can be forwarded (I'm ignoring how long a client will wait for a reply here) ? For example, if I forward a query for mail.mydomain.com to dns1.someotherdomain.com and it then forwards to another DNS server etc ... etc ... etc until it finally gets to dns1.mydomain.com - what is the maximum number of DNS servers it can go through ?
Thanks in advance for any help
Irish Poetry - Karen O'Connor
Irish Poetry and Short Stories - Doghouse Books
Garten und Landschaftsbau
We're currently trying to consider whether we should use conditional forwarding vs secondary zones for our new mail hosting. The only thing I'm stuck on is how long records get cached for in each scenario. Is this pre-determined by the SOA record for both scenario ?
Scenario 1:
Conditional Forwarding for mydomain.com
SOA record for mydomain.com says the TTL is 2,592,000 (30 days)
On 1st of the month a user queries mail1.mydomain.com, the local DNS server doesn't have it in it's cache so it forwards it to the Primary DNS server for mydomain.com and caches the result.
Users continue doing their work, just querying mail.mydomain.com and always getting the cached record. On 15th of the month, a user queries webmail.mydomain.com, the local DNS server doesn't have this in it's cache, so it forwards it to the primary server for mydomain.com and caches the result
Question 1:
The cached record for mail.mydomain.com will expire on 30th of the month - but when will the cached record for webmail.mydomain.com expire ? Also on 30th of the month, or on 15th of the following month ?
Question 2:
If the server is restarted on 20th of the month, I presume it's cache is lost, is that correct ? In this case it has to forward the query for mail.mydomain.com to the Primary server and I presume this cached record would expire on 20th of the following month (assuming the query was done on the same day) ??
Scenario 2:
Secondary Zone for mydomain.com setup and trasnferred on 1st of the month
SOA record for mydomain.com says the TTL is 2,592,000 (30 days)
Question 3:
At the end of the month, what happens to my secondary zone ? Is the whole thing transferred again ? What about if there are no changes ?
Question 4:
If a new record is added to the Primary server on 10th of the month, am I right in saying there is no "trigger event" that can cause the new record to be transferred to the secondary zone on my local DNS server ? I will have to wait until the end of the month when the zone "expires" and then it will get transferred ?
Question 5:
Is there a limit on the amount of times a DNS query can be forwarded (I'm ignoring how long a client will wait for a reply here) ? For example, if I forward a query for mail.mydomain.com to dns1.someotherdomain.com and it then forwards to another DNS server etc ... etc ... etc until it finally gets to dns1.mydomain.com - what is the maximum number of DNS servers it can go through ?
Thanks in advance for any help
Irish Poetry - Karen O'Connor
Irish Poetry and Short Stories - Doghouse Books
Garten und Landschaftsbau