Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

How a router can resolve dns without ip name-server command?

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#

3 REPLIES
New Member

How a router can resolve dns without ip name-server command?

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.

New Member

How a router can resolve dns without ip name-server command?

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.

New Member

How a router can resolve dns without ip name-server command?

The name server is maintained by your ISP. Sorry I forgot to say this.

704
Views
2
Helpful
3
Replies
CreatePlease login to create content