cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
314
Views
10
Helpful
9
Replies
Highlighted
Beginner

DNS on a Cisco 2900 router (continued)

Hello,

 

Still trying to get DNS on a Cisco 2900 router to work.

 

Interesting part is that when I do reverse lookups, I get an immediate answer.

 

# nslookup 192.168.23.2 192.168.2.37
2.23.168.192.in-addr.arpa name =  mytestpc.

Authoritative answers can be found from:

 

 

So it seems that I might be missing something.

I did set "ip domain name localdomain" I don't know if that is an issue? 

 

Ron

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
VIP Advisor

Re: DNS on a Cisco 2900 router (continued)

You can use the command ip domain timeout to tweak timeout response lookup which 3s by default.
If your isp is down, you won't be able to resolve any name so you can use a eem to remove the forwarders for external lookup and keep only internal (hosts configured in the router)

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

View solution in original post

9 REPLIES 9
Highlighted
VIP Advisor

Re: DNS on a Cisco 2900 router (continued)

Hi

You want to setup your router as DNS server or client?

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question
Highlighted
Beginner

Re: DNS on a Cisco 2900 router (continued)

well, as a server, so it can resolve local addresses and forward requests that are not local.

 

Highlighted
Beginner

Re: DNS on a Cisco 2900 router (continued)

it is working for now,  I just "hard coded" the ISP's name-servers in the router's dns

Highlighted

Re: DNS on a Cisco 2900 router (continued)

Oh thats great thanks for the update.

Please do not hesitate to click the STAR button if you are satisfied with my answer.
Highlighted
Beginner

Re: DNS on a Cisco 2900 router (continued)

well,  what I would wanr ideally,  is that since the WAN interface gets the name servers automatically,  the dns service can use them too.

 

But yes it looks like it is starting to work

Highlighted
VIP Advisor

Re: DNS on a Cisco 2900 router (continued)

Great to know it works.

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question
Highlighted
Beginner

Re: DNS on a Cisco 2900 router (continued)

Yup,

 

the DNS part works, one thing I would like to improve is that when the "outgoing connection" with the ISP is down, the DNS server would not time ot, or time out faster. Because it seems that even for local lookups the dns server still wants to talk to a "domain server" first?

 

Ron

Highlighted
VIP Advisor

Re: DNS on a Cisco 2900 router (continued)

You can use the command ip domain timeout to tweak timeout response lookup which 3s by default.
If your isp is down, you won't be able to resolve any name so you can use a eem to remove the forwarders for external lookup and keep only internal (hosts configured in the router)

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

View solution in original post

Highlighted
Beginner

Re: DNS on a Cisco 2900 router (continued)

it's not a real big deal,  when it happens it is annoying.

 

The DNS part is working,  the stubborn issue I have now is with DHCP,  different thread.

 

thanks!

 

Ron