Default named.conf.options on debain 5

wtfbrb

Verified User
Joined
Oct 11, 2009
Messages
71
I just setup a debian lenny server with directadmin, and I installed csf and then fixed most of the security issues when I got to dns recursion set to local only I accidently deleted my named.conf.options file instead of backing it up. I'd rather not have to re-install everything and do it all over again...is there anyway anyone can provide me with their version or a default version?
 
Not sure if it's the original, but try this:

Code:
options {
directory "/var/named";

// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See http://www.kb.cert.org/vuls/id/800113

// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.

// forwarders {
// 0.0.0.0;
// };

auth-nxdomain no; # conform to RFC1035
listen-on-v6 { ::1; };
listen-on { 127.0.0.1; };
allow-recursion { 127.0.0.1; };
};
 
Nope...

Maybe if I match it to your named.conf? minus the zones of course...
 
[SOLVED] Thanks!

Just needed to change the directory to /etc/bind at the top. Thanks!
 
Back
Top