Recursive DNS

Groen01

Verified User
Joined
May 7, 2009
Messages
7
Hello guys,

Hope you can help me out with this problem. I've got DA running with bind because it is a recursive dns a followed this how to:
http://www.directadmin.com/forum/showthread.php?t=17544&highlight=recursive+dns

I changed my /var/named/chroot/etc/named.conf:
// generated by named-bootconf.pl

options {
directory "/var/named";
allow-transfer {
"range"; };
allow-recursion {
"range"; };
version "named";

/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;

acl "range" {
192.168.0.0/24;
172.16.2.0/24;
x.x.x.x/24;
};

};

//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};

zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};

include "/etc/rndc.key";

The x.x.x.x/24 range is the public IP range of my customers that are allowed to transfer and to recursion. I restarted named but it had no effect.

Can you tell me what i do wrong?

Hope you can help me out.

Kind Regards
 
Looks very similar to what I have done but I didn't put quotes around anything. Dunno if that makes a difference:

Code:
acl internal {
        xx.xx.xx/24; xx.xx.xx.xx;
};


allow-recursion { internal; };
 
Back
Top