DNS Reply Modification

DNS Reply Modification

NewsGroups | Search | Tools
 comp.dcom.sys.cisco  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
DNS Reply Modification tman 06-25-2008
Posted by tman on June 25, 2008, 5:29 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
I have some ports forwarded to the outside interface on my ASA 5505.
Here is an example:

static (inside,outside) tcp interface pop3 192.168.1.2 pop3 netmask
255.255.255.255

I want internal hosts to be able to connect to 191.168.1.2 by using
DNS. I do not have a DNS server inside, so the hosts would have to
use public DNS.

In the Cisco Security Appliance Command Line Configuration Guide I
found something called DNS Reply Modification. I tried it:

static (inside,outside) x.x.x.x 192.168.1.2 netmask 255.255.255.255
dns (Where x.x.x.x is my outside ip address)

but got some sort of conflict:

WARNING: real-address conflict with existing static
TCP inside:192.168.1.2/110 to outside:0.0.0.0/110 netmask
255.255.255.255

I only have one public ip address, which is why I had to use port
forwarding. Perhaps that's the problem.

Is there any way to accomplish this?

Thanks

home networking made easy, greater protection, less stress, introducing nm 5.0, 728x90
Posted by Scott Perry on June 26, 2008, 4:12 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
The problem is that you have inside hosts which are trying to communicate
with the outside IP address of the firewall. It will not work based on the
security concepts of the firewall.

I bet that if you performed a DNS lookup by itself, such as using the
Windows "nslookup" command, then you will find that the DNS lookup is
successful. Then try to PING the outside IP address of your Cisco ASA
firewall by specifying the PING command by IP address, not name. It will
fail.

I suggest that you place an entry in the HOSTS file of your inside PCs so
that the FQDN (fully qualified domain name) which you are trying to reach is
really pointed to the inside IP address of that server.

-----
Scott Perry
Indianapolis, IN
-----


>I have some ports forwarded to the outside interface on my ASA 5505.
> Here is an example:
>
> static (inside,outside) tcp interface pop3 192.168.1.2 pop3 netmask
> 255.255.255.255
>
> I want internal hosts to be able to connect to 191.168.1.2 by using
> DNS. I do not have a DNS server inside, so the hosts would have to
> use public DNS.
>
> In the Cisco Security Appliance Command Line Configuration Guide I
> found something called DNS Reply Modification. I tried it:
>
> static (inside,outside) x.x.x.x 192.168.1.2 netmask 255.255.255.255
> dns (Where x.x.x.x is my outside ip address)
>
> but got some sort of conflict:
>
> WARNING: real-address conflict with existing static
> TCP inside:192.168.1.2/110 to outside:0.0.0.0/110 netmask
> 255.255.255.255
>
> I only have one public ip address, which is why I had to use port
> forwarding. Perhaps that's the problem.
>
> Is there any way to accomplish this?
>
> Thanks



Posted by Morph on June 26, 2008, 5:12 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
In the message
wrote:

| I have some ports forwarded to the outside interface on my ASA 5505.
| Here is an example:
|
| static (inside,outside) tcp interface pop3 192.168.1.2 pop3 netmask
| 255.255.255.255
|
| I want internal hosts to be able to connect to 191.168.1.2 by using
| DNS. I do not have a DNS server inside, so the hosts would have to
| use public DNS.
|
| In the Cisco Security Appliance Command Line Configuration Guide I
| found something called DNS Reply Modification. I tried it:
|
| static (inside,outside) x.x.x.x 192.168.1.2 netmask 255.255.255.255
| dns (Where x.x.x.x is my outside ip address)
|
| but got some sort of conflict:
|
| WARNING: real-address conflict with existing static
| TCP inside:192.168.1.2/110 to outside:0.0.0.0/110 netmask
| 255.255.255.255
|
| I only have one public ip address, which is why I had to use port
| forwarding. Perhaps that's the problem.
|
| Is there any way to accomplish this?

Are you using both static statements at the same time?

You are on the right way with dns doctoring.
You can read about it here
http://www.cisco.com/en/US/products/ps6120/products_configuration_example09186a00807968d1.shtml
http://www.cisco.com/en/US/products/ps6120/products_configuration_example09186a00807968c8.shtml

Your static statement should look like this:
static (inside,outside) interface 192.168.1.2 netmask 255.255.255.255
dns

I'm not shure wether this works with port forwarding but if it does the
command should probably look like this:

static (inside,outside) tcp interface pop3 192.168.1.2 pop3 netmask
255.255.255.255 dns

--
-Was he talking about what I think he was talking about?
-If you mean time-traveling bunnies, then yes.

Similar ThreadsPosted
DNS Reply Modification (doctoring) intermittently failing January 27, 2005, 2:41 pm
delay of reply on ping and high cou usage December 4, 2006, 2:21 am

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map