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

I have just set up a router running pfSense on our network and forwarded the appropriate ports. I have a small web server running in my network, and a domain name pointing to our (WAN) IP. When accessing that domain name, everything works fine. However, when accessing a subdomain of the domain name, pfSense will give a DNS rebinding warning. This did not happen back when I used a DD-WRT router. What is the proper way to fix this? The DNS records for the subdomain also point to the same address (I use a virtual server to differentiate the subdomains.)

share|improve this question

1 Answer 1

up vote 1 down vote accepted

this is due to the fact that PF functions can't reflect in and out the same interface, it has to pass "through" the router so it redirects you to the warning. You can setup a .local domain or you can setup Split DNS in PFsense. Instructions for split DNS are in this PFsense KB article. I suggest split DNS to fix this.

share|improve this answer
    
This solved my problem, thanks! –  Richard Maddis Jun 26 '12 at 15:33
    
Jacob, I'm sure you know that it's generally discouraged from –  Mxx Jul 5 '12 at 13:50

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.