cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
367
Views
0
Helpful
1
Replies

DNS on a 2800 router will not resolve remote host requests

FazeDank
Level 1
Level 1

Hi, I am relatively new to routing and I recently set up my home lab. I am trying to setup one router to act as a DNS server. I created one host record that points to itself. To test it out; I pinged the router by its own host record and it resolved it, however when I tried to ping R1 (the host record) from R2 (another router that has connectivity to R1 verified by ping), the error it gave was "% Unrecognized host or address, or protocol not running". 

 

The commands I used on R2 are the following:

1. ip domain-lookup

2. ip name-server 192.168.32.1    (the interface connected to R2)

3. ip domain-list lab.com

 

I think I probably set up DNS on R1 properly as it can resolve its own DNS requests when I did "ping r1" it did ping itself.

 

1 Reply 1

FazeDank
Level 1
Level 1

Ok so after removing the domain name and domain-list from the both routers; the DNS configuration now works. I guess my question would be why the domain name affected the ability of R1 to translate requests from R2 if they were both part of the same domain.