Installing BIND Locally
I got BIND installed (CentOS) all is good I can do dns etc.
What I do want to do is install BIND (Dns) locally as we have 2 networks and I want only the intranet to work with that server. All I really need is 10.x.x.x/24 servers to do a dns lookups (BIND Dns Cache) and thats it. Not sure what I need all to put in named.conf to get that all done. Please if you could guide me bit through what I need to place in named.conf (I dont need a domain name) so I am assuming zone can be taken off? So here it is what I got so far. Code:
// /var/named/chroot/etc/named.conf It works locally on the server it self, but if I put this dns server on windows as (primary dns server) its not resolving. I get timeout.. Not sure what I am missing, iptables? Thank you a lot! |
Quote:
Code:
listen-on port 53 { 127.0.0.1; 10.x.y.z;}; // I Tried placing ; any ; Also check if your firewall blocks port 53 udp/tcp. And better restrict recursion to your LAN using Code:
allow-recursion {10.x.x.x/24; }; Quote:
|
Thank you, ill try.
One thing to mention is that the 10. is private network (does not go out) yet lets say 11.x network is going out through nat fw FYI locally on server it works just fine nslookup mydomain.com 10.x.x.x |
All times are GMT -5. The time now is 11:32 PM. |