alias for PIX 6.3(5)

Nov 09, 2005 4 Replies

Does this really work? How?



I've got a webserver with a private IP address like 10.1.1.111 but to the outside works it's 222.222.222.222 A client on my LAN of 10.1.1.0/24 gets 222.222.222.222 from a public DNS server which times out when he tries to connect because the server is on



10.1.1.111, which is on the internal LAN.

We get around this at one location by using an internal DNS server but for a small installation I think it's overkill.



Thanks


alias will work. it will replace 222.222.222.222 with 10.1.1.111 in dns packets.

In article , you know who maybe wrote: :Does this really work? How?

:I've got a webserver with a private IP address like 10.1.1.111 but to the :outside works it's 222.222.222.222 :A client on my LAN of 10.1.1.0/24 gets 222.222.222.222 from a public DNS :server which times out when he tries to connect because the server is on :10.1.1.111, which is on the internal LAN.

:We get around this at one location by using an internal DNS server but for a :small installation I think it's overkill.

You could use 'alias' for this, but then you would not be able to use PDM. 'alias' is deprecated.

Instead, on your "static" line that defines the translation between inside and outside, add the keyword 'dns'.

Holy cow. I've been asking this question in different ways for a couple years on and off and always someone tells me about the alias command, but that it breaks PDM. I never put it together that this is what the DNS Rewrite features does. I've been looking at that check box in PDM for years but never thought about it. Awesome. Thanks again, Walter. Now I have to rethink the way we are doing things at the other locations.

-Bob

search for "DNS doctoring" on google.

Bye Alex.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required