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

using cisco router as DNS server

We have set up our cisco router as DNS server. Its working file but we have a problem. Our inside interface is Public IP and outside interface is having Private IP of ISP network. We would like to know how to configure the router to run DNS server on a particular interface. So that all packets originating from the router have source Ip as public IP. any help would be greatly appreciated.

thanks

3 REPLIES
Hall of Fame Super Silver

Re: using cisco router as DNS server

You ask the question as if it were a DNS issue. But as I read the question and try to understand what you are trying to accomplish it seems to me that what you need involves how to specify the source address on packets originated from the router. And that is not a DNS issue.

The good news is that IOS gives the ability to specify the source address for a number of applications. You can specify the source address for telnet, for ssh, for tftp, for ftp, for snmp traps, for tacacs, for radius, for ntp. In extended ping and extended traceroute there is an option to specify the source address.

Unfortunately there is not any single or simple way to do this globally. You must do it application by application.

If I have misunderstood some aspect your post could you please clarify for me.

HTH

Rick

New Member

Re: using cisco router as DNS server

ya, you are right i meant to ask how to specify source ip for packets originating from router.

and again you are right as u said we need to do it application by application. we found that the command

ip domain-lookup source-Ip

does solve our problem we are currently testing it. thanks for your reply.

New Member

Re: using cisco router as DNS server

On another system (X) in my LAN, I am configuring my router as DNS server. Hence, whenever any DNS query from system X reaches Router, the Router forwards it with its outside interface IP which is a private IP (provided by ISP).

How to configure Router that for such cases, source IP is my Public IP (inside interface)?

368
Views
0
Helpful
3
Replies