You are not logged in.

#1 2010-01-24 16:46:26

jayboy21
Member
Registered: 2010-01-24
Posts: 2

bind not working properly

ive setup bind as a caching dns server, the problem is i cant resolve internet domains. the archlinux server will resolve locally but if i try and requset from another linux or windows box i get this:

root@xxxx:~# host yahoo.com 10.1.1.3
Using domain server:
Name: 10.1.1.3
Address: 10.1.1.3#53
Aliases:

Host yahoo.com.xxx.org not found: 5(REFUSED)

Heres my named.conf

//
// /etc/named.conf
//

options {
        directory "/var/named";
        pid-file "/var/run/named/named.pid";
        listen-on { 10.1.1.0/24; };

        // Default security settings.
        allow-recursion { none; };
        allow-transfer { none; };
        allow-update { none; };
    version none;
    hostname none;
    server-id none;

};


zone "localhost" IN {
        type master;
        file "localhost.zone";
        allow-transfer { any; };
};

zone "0.0.127.in-addr.arpa" IN {
        type master;
 file "127.0.0.zone";
        allow-transfer { any; };
};

zone "." IN {
        type hint;
        file "root.hint";
};


logging {
        channel xfer-log {
                file "/var/log/named.log";
                print-category yes;
                print-severity yes;
                print-time yes;
                severity info;
        };
        category xfer-in { xfer-log; };
        category xfer-out { xfer-log; };
        category notify { xfer-log; };
};

Offline

#2 2010-01-25 02:35:55

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: bind not working properly

Your "allow-recursion" is too strict. See config files.

Offline

#3 2010-01-25 08:05:08

jayboy21
Member
Registered: 2010-01-24
Posts: 2

Re: bind not working properly

Cheers for that

Offline

Board footer

Powered by FluxBB