Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

DNS/DIG lookup questions and GTLD servers question

Posted on 2003-12-05
2
1,280 Views
Last Modified: 2010-05-18
I have a question about the G-TLD servers.  Do they cache dns information?

When I do a dig on for  microsoft.com (dig microsoft.com +trace) the final answer is:

microsoft.com.          3600    IN      A       207.46.245.214
microsoft.com.          3600    IN      A       207.46.245.222
;; Received 63 bytes from 207.46.138.20#53(dns1.cp.msft.net) in 65 ms

If I am reading this correctly it is saying that  dns1.cp.msft.net gave the answer of 207.46.245.214 and 222....

What does it mean if I do a dig and it says that  (dig example.com +trace) the GTLD gave the answer????

example.com.      172800  IN      A       XXX.XXX.XXX.225
example.com.      172800  IN      NS      ns1.example.com.
;; Received 124 bytes from 192.5.6.30#53(A.GTLD-SERVERS.NET) in 33 ms


0
Comment
Question by:atebit
2 Comments
 
LVL 18

Expert Comment

by:chicagoan
ID: 9885041
>G-TLD servers.  Do they cache dns information?
If a DNS server is authoritative for a domain, the zone record is read and cached when BIND is loaded.
If a DNS server is not authoritative, it queries the authoritative server and caches the record until the TTL expires.
When tracing is enabled, dig makes iterative queries to resolve the name being looked up. It will follow referrals from the root servers, showing the answer from each server that was used to resolve the lookup.
Your query led dig to dns1.cp.msft.net, which is the authority for microsoft.com

>What does it mean if I do a dig and it says that  (dig example.com +trace) the GTLD gave the answer????
It means A.GTLD-SERVERS.NET is authoritative for example.com

When tracing is disabled (the default), dig queries the default name server or the server specified in the command line.

0
 
LVL 55

Accepted Solution

by:
andyalder earned 500 total points
ID: 9888055
>G-TLD servers.  Do they cache dns information?

No, the root servers just look after "." and .com, they don't cache or resolve for anything else, the problem is that dig returns additional information that you may be misinterpreting as coming from them when it has resolved it by doing additional queries to the authoritative server.

>If I am reading this correctly it is saying that  dns1.cp.msft.net gave the answer of 207.46.245.214 and 222....
Yes.


What does it mean if I do a dig and it says that  (dig example.com +trace) the GTLD gave the answer????

example.com.      172800  IN      A       XXX.XXX.XXX.225
example.com.      172800  IN      NS      ns1.example.com.
;; Received 124 bytes from 192.5.6.30#53(A.GTLD-SERVERS.NET) in 33 ms

It means example.com's DNS registration is well screwed up!
The root servers have returned ns1.example.com as being the authoratitive nameserver for that domain but haven't returned the IP address of ns1.example.com presumably because someone filled a form in wrong. Nobody will be able to get to ns1.example.com so www.example.com, mail.example.com etc won't be resolvable.

dig has also returned any A records it can find for that domain (through a zone-file transfer) and it's had an A record returned, not for the nameserver, but just for example.com so if you put a webserver at xx.xx.xx.225 that could just work.

Example.com need to get the example.com A record off the root servers and ns1.example.com put in it's place, probably using the same IP address. Can't do that change through DNS but only through the registrar's website.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question