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.