?
Solved

PIX and DNS Zone Xfer

Posted on 2004-04-21
6
Medium Priority
?
272 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 252 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 248 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

With the rising number of cyber attacks in recent years, keeping your personal data safe has become more important than ever. The tips outlined in this article will help you keep your identitfy safe.
This article is in regards to the Cisco QSFP-4SFP10G-CU1M cables, which are designed to uplink/downlink 40GB ports to 10GB SFP ports. I recently experienced this and found very little configuration documentation on how these are supposed to be confi…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Suggested Courses

777 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