Solved

PIX and DNS Zone Xfer

Posted on 2004-04-21
6
265 Views
Last Modified: 2009-12-16
I am having trouble getting DNS Zone Xfer to pass through the Pix.  I have a primary DNS on the inside and a secondary DNS on the outside.  I want the secondary DNS to pull a new zone file (when necessary) through the pix.  Not working for me.  I have provided the relevant PIX configs:

access-list 101 remark --ALLOW DNS AND ZONE XFER--
access-list 101 permit tcp host 32.A.B.C host 32.A.B.D eq domain
access-list 101 permit udp host 32.A.B.C host 32.A.B.D eq domain

global (outside) 1 32.A.B.E
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) 32.A.B.D <INTERNAL IP> netmask 255.255.255.255 0 0

The DNS is the first entry in the access-list.  There are other entries, but not pertaining to DNS.  If this is a little confusing, I need to allow an outside (untrusted) IP to request DNS from an inside (trusted) IP.  Secondly, the only communication allowed betwen the two DNS servers is DNS.  
The PIX version is 6.3(1).

Any help?

Jeffrey
0
Comment
Question by:jwi71
6 Comments
 
LVL 6

Expert Comment

by:bloemkool1980
ID: 10879677
I had the same problem long time ago and as I recall I copied the zonefile the first time manually to the seconday. Don't ask me why but after that it worked with the same configuration as you have mentioned here
0
 
LVL 23

Accepted Solution

by:
Tim Holman earned 63 total points
ID: 10883472
If you want to PULL from the secondary, you need an ACL applied to the outside interface:

source secondary DNS server, destination primary DNS server, TCP port 53.

Don't worry about UDP 53, this isn't used for zone transfers...

From what I can see you've allowed DNS out, but not back in again to the static translation ?
0
 
LVL 15

Assisted Solution

by:DonConsolio
DonConsolio earned 62 total points
ID: 10969140
If you use bind you can use the query-source directive to force bind to send queries through a specified source port.
This would allow your firewall rules to work as you expect.

e.g. server 123.123.123.123, port 53

options {
[...other options..]
    query-source address 123.123.123.123 port 53;
};
0
 
LVL 15

Expert Comment

by:DonConsolio
ID: 14136015
still does not work ?

you might also need to add:

[...]
transfer-source * port 53;
notify-source * port 53;
[...]
0
 
LVL 27

Expert Comment

by:Tolomir
ID: 15738751
No comment has been added to this question in more than 21 days, so it is now classified as abandoned..
I will leave the following recommendation for this question in the Cleanup topic area:
Split: tim_holman{http:#10883472} & DonConsolio{http:#10969140}

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

Tolomir
EE Cleanup Volunteer
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this increasingly digital world, security hacks are no longer just a threat, but a reality. As we've witnessed with Target's big identity hack 2013, Heartbleed in 2015, and now Cloudbleed, companies and their leaders need to prepare for the unthi…
February 24, 2017 — On February 23, Travis Ormandy, a vulnerability researcher at Google, reported on Twitter (https://twitter.com/taviso/status/834900838837411840) that massive stores of data have been leaked by CloudFlare, a company that provide…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question