02-05-2008 08:58 PM - edited 03-05-2019 08:58 PM
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
02-05-2008 09:23 PM
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
02-06-2008 12:26 AM
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.
02-06-2008 01:19 AM
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)?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide