cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2093
Views
3
Helpful
24
Replies

PIX 501 DNS Resolution with static route

dylanvendlink
Level 1
Level 1

I am using a pix 501.

I have an internal DNS server behind this pix that uses my ISPs DNS servers to resolve external domains.

I now want to host a web site from the same server.

In order to allow external access to the web server I add the following:

access-list outside_in_http permit tcp any host A.B.C.D eq www

static (inside,outside) A.B.C.D L.M.N.O netmask 255.255.255.255 0 0

access-group outside_in_http in interface outside

this is all well and good and allows web access. The problem is that the server can no longer resolve DNS queries.

How can I allow my server to resolve DNS again in a secure way. I imagine this is quite simple to achieve but I am having great difficulty in finding the solution.

thanks in advance

Dylan

24 Replies 24

clark.d
Level 1
Level 1

Lets go to the beginning......from the server can you ping and outside device by IP only? Try this aaddres: 216.109.117.108.....does it reply?

No. not from the server or any other internal ip address.

http does succeed from the server and ping does succeed from the outside interface in case these help.

Can you ping inside interface from server? Is servers DG set to PIX inside address?

yes on both counts

(assuming DG is default gateway)

Add this to you access list to allow ping to outside but not from outside in....

access-list outside_acl permit icmp any any echo-reply

access-list outside_acl permit icmp any any time-exceeded

access-list outside_acl permit icmp any any unreachable

i can now ping the address you gave me.

i can also ping my isp's dns servers sucessfully

On your server set dns IP to 67.38.230.69, then ping www.yahoo.com from command prompt....does that resovle?

yes.

i added 67.38.230.69 at the top of the forwarders list and it seems to work fine.

can you browser the web and everything OK now? The other clients, if pointed to server as DNS server should be working also....is this true?

yes on all counts.

i have also checked it out with our back up server and that also is ok.

The incoming web stuff is also working properly.

Review Cisco Networking products for a $25 gift card