Hello all,
I am trying to understand DNS a little better so I can hopefully solve a problem on our network.
I am running a Windows 2000 Professional client.
My understanding of how DNS works is the following:
Is this correct?
Also, when I type "ipconfig /displaydns", is this looking at the cache on my local machine or this a cache on the DNS server?
If my understanding above is correct and I type "ping <SERVERNAME>" and the ping resolves it to an IP address, how could my DNS cache (retrieved using "ipconfig /displaydns") still have:
<SERVERNAME>.
------------------------------------------------------
Negative cache entry for no records
as the entry?
Thanks a lot.
I am trying to understand DNS a little better so I can hopefully solve a problem on our network.
I am running a Windows 2000 Professional client.
My understanding of how DNS works is the following:
- I type "ping <SERVERNAME>"
- The OS checks my local cache for a DNS entry mapping the <SERVERNAME> to an IP address
- If it finds it locally, then it returns the IP address stored in the cache
- If it doesn't find it cached locally, then it will go through the provided DNS servers in the order they are provided
- If it still hasn't found it, then it returns an "Unknown host <SERVERNAME>" error
- If it finds it on one of the provided DNS servers, then it returns the IP address mapping and caches it locally for the time specified in the TTL setting on the DNS server that provided the mapping
Is this correct?
Also, when I type "ipconfig /displaydns", is this looking at the cache on my local machine or this a cache on the DNS server?
If my understanding above is correct and I type "ping <SERVERNAME>" and the ping resolves it to an IP address, how could my DNS cache (retrieved using "ipconfig /displaydns") still have:
<SERVERNAME>.
------------------------------------------------------
Negative cache entry for no records
as the entry?
Thanks a lot.