You are not logged in.

#1 2006-03-05 13:21:01

Vampyrx
Member
Registered: 2005-04-09
Posts: 26

[BIND9] Problems with named.conf and Forwarders

My network configuration : 192.168.0.3/244 - Gw : 192.168.0.1
My FAI DNS : 212.198.2.51 and 212.168.0.91
I want to configure my DNS to resolv in local and forward to Internet.

named-checkconf -> OK
named-checkzone -> OK

This is my named.conf

options {
        directory "/var/named";
        pid-file "/var/run/named/named.pid";
        auth-nxdomain yes;
        datasize default;
        forwarders { 212.198.2.51; 212.168.0.91; };
        allow-recursion { 192.168.0.0/24; 127.0.0.1; };
// Uncomment these to enable IPv6 connections support
// IPv4 will still work
        listen-on { 192.168.0.3; 127.0.0.1; };
//      listen-on-v6 { any; };
};

zone "jeremy.cisco" IN {
type master;
file "jeremy.cisco";
};

zone "0.168.192.in-addr.arpa" IN {
type master;
file "jeremy.cisco.rev";
};

My zone file :

@                       IN SOA  dracula.jeremy.cisco root.dracula.jeremy.cisco. (
                                        42              ; serial (yyyymmdd##)
                                        3H              ; refresh
                                        15M             ; retry
                                        1W              ; expiry
                                        1D )            ; minimum ttl
                        IN NS   dracula.jeremy.cisco.
dracula                 IN A            192.168.0.3
www     IN      CNAME   dracula.jeremy.cisco.

my /etc/resolv.conf

nameserver 192.168.0.3
search jeremy.cisco

So someone can help me to active forwarders because with this configuration i can't use Internet with bind.
Nslookup resolv www.jeremy.cisco but www.yahoo.fr not... sad[/code]


Noob

Offline

Board footer

Powered by FluxBB