I am setting up a bind9 server on the most recent release of Debian. I am using the "view" statements to have internal and external clients work differently.
That, I can get working. The problem is with forwarding. Whenever I try to go to google.com it can't be found. Both the DNS server and my PC can ping the ISP's DNS servers and the firewall is allowing the DNS server to go through.
After running Ngrep on the network interface on the DNS server I see that I get the following whenever a query outside is made
U 172.16.4.95:63967 -> 172.16.2.5:53
............. www.notebookreview.com.mysite.com.....
Obviously the error has the domain of where I work, but I am not posting that out in the public. so "mysite.com" is mybusiness.com or whatever
Are there any suggestions on fixing this?
Thanks in advance
Miller88 is offline
-
-
Hi,
i understand you hestitate to post more about your network, but this is enough only to guess.
What is your dns server acting like? caching? primary, secondary dns ...?
You got some kind of proxy (caching) running on same server - or on another? Netfilters firewall on same server or other? Some router (cisco, mikrotik ..) to setup primary access rules to restrict access to your network?
See, It's a bit complicated.
What the 'dig' command says ? ...
What the netstat -r says ..?
gl&hf -
It is a primary nameserver. The dig command work on the server
Turns out I forgot to uncomment the line where it allows recursion. Works now. I have been trying to figure this out all week. Come to find out it's two // keeping it from working! -
Whoah, tough!
)
Good you got it solved and thx for sharing the problem solution
Bind9 Forwarding Problem
Discussion in 'Linux Compatibility and Software' started by millermagic, May 28, 2010.