Link to home
Start Free TrialLog in
Avatar of kam_uk
kam_uk

asked on

Query regarding DNS records on Internet

Hi All

I had some queries regarding public DNS records I was hoping someone could help me with.

Let's say my domain is kam.com and my ISP is Verizon. Their public DNS servers are DNS1 and DNS2.

Would I be correct in thinking that the authorative DNS servers for the kam.com domain/zone are DNS1 and DNS2?

But I'm not sure how SOA records fit into this?

Let's say Kam.com was a masssive company and I had my own public DNS servers on the internet (is this common?) - DNS3 and DNS4.

Again, the authorative servers for kam.com would be DNS3 and DNS4.

Authorative servers means that when someone queries DNS info for kam.com (e.g. a machine wants to resolve www.kam.com), they are directed to the authorative servers for that domain? What would happen if these servers would be unavailable? Is the information not cached somewhere? In which case, why don't public computers query the cached info first?
ASKER CERTIFIED SOLUTION
Avatar of RAHopkinson
RAHopkinson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kam_uk
kam_uk

ASKER

Hi

Thanks for the great reply!!!

I've checked the SOA records for some domains on the internet - just out of curiosity, what does the TTL (time-to-live) on a resource record mean, and does this apply to all resource records (A, MX etc)? And what would be the benefit of having it high / low?
TTL is the value, in seconds, of a record's expiration time, and applies to A records, MX records, etc..  A common TTL value for DNS is 86400 seconds, which is 24 hours. That value would mean that if a DNS record was changed, DNS servers around the world could still be showing the old value from their cache for up to 24 hours after the change.  So prior to making DNS changes, many admins will change the TTL to a smaller value to avoid disruption of services, and then change it back to minimize the load on the authoritative DNS servers.
Avatar of kam_uk

ASKER

Thanks...

Re. the TTL, where is this value actually held? I understand the principle but am unsure how this would work in practice?

Let's say I want to change my MX records to point from mail.kam.com to mail2.kam.com. So I undertand that setting a smaller TTL would be better since the change would be propogated quicker (because the DNS servers around the world would refresh their cache quicker) but surely if we are waiting for the TTL change to be replicated across the world, we may as well change the actual MX record itself?

Or would this be more when we knew we were going to change the record in the near future and just wanted to prepare for this?

Also, can you set different TTL for different resource records (e.g. one TTL for A record, one for MX etc) or is it for all of them collectively?

Thanks again
The value is stored with the individual record in the zone file, its value passed on and cached with the other cached info for that record.

You would lower the value in preparation for the upcoming change, so that by the time you effected the change, the lower TTL value for the record(s) would have propagated throughout the Internet's DNS servers.  You would then change the TTL back to a reasonable level when you change the infor for the record itself.

Again, each record has its own TTL, so you can set it individually, and it can be different for each record.
Avatar of kam_uk

ASKER

Excellent, thanks very much for the great explanations.