09-02-2013 09:32 PM - edited 03-03-2019 07:10 AM
Hello everyone,
A question about the command "ip name-server *.*.*.*"
If I didn't put in the DNS server, the router can still resolve the domain name. You can see the domain server is 255.255.255.255.
Why does this happens?
R4#ping www.cisco.com
Translating "www.cisco.com"...domain server (255.255.255.255) [OK]
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 184.31.192.170, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
R4#
09-02-2013 10:46 PM
Resolved.
There is a DNS server in the local network. So it can receive the broadcast DNS request and reply with the right IP address.
Thanks Guys.
09-05-2013 09:38 AM
Hi,
There is a name server inside the LAN. Before searhing in the DNS server, it checks the name server in the LAN to reduce the time for searching. The name server of the LAN is like a cache which stores the results coming from the DNS server.
So, it is name server of the LAN which is resolving the IP address.
Thank you.
* please rate the helpful posts.
09-05-2013 01:31 PM
The name server is maintained by your ISP. Sorry I forgot to say this.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide