Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a pfSense firewall and a Windows 2008 R2 DNS server. I'd really like my DNS server to respond to external queries for my subdomains. Right now, I'm using a 3rd party service for that.

Is there a way that I can have my 2008 server respond to DNS requests from "the world" while still keeping it behind the firewall?

I've only got one external IP, currently. If needed though, I could purchase a second if that'd help in this situation.

share|improve this question
1  
In almost ALL cases, it it better to host your Internet DNS with an external provider that is likely better at it then you are. You're good at your internal DNS, which needs to be separate and protected. External DNS needs to be redundant, reliable, and highly secured. DNS is the lifeblood of a modern network and often an important target for bad hackers... –  Bret Fisher Oct 8 '12 at 3:42

2 Answers 2

up vote 3 down vote accepted

You can get an additional IP and 1:1 NAT the internal DNS server to the public IP and open port 53.

You should note that you should really separate your authoritative servers from your recursive resolvers. What you're proposing is technically possible, but is really bad practice for a number of reasons.

share|improve this answer

You can just port forward TCP/UDP 53 to your server on your existing WAN IP, if you aren't already running a DNS server on that IP. But I wouldn't recommend doing that in most cases, it's better to keep your public and private DNS separate. Especially if you're running Active Directory, you'll expose a good deal of information about your internal network to the world if you open the DNS server serving your AD to the Internet.

share|improve this answer
    
bold the part about "NOT RECOMMENDED to put a internal DNS server on Internet". –  Bret Fisher Oct 8 '12 at 3:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.