BIND9 Syntax?

Nate Peck nate3000 at gmail.com
Sun Jan 14 17:04:11 UTC 2007


Dear All,

I've been having trouble with BIND(version 9.3.2-P1), and I'm not sure
where the problem is. When I try to use nslookup, it spits out:

> server 127.0.0.1
Default server: 127.0.0.1
Address: 127.0.0.1#53
> blue.home.lan
Server:         127.0.0.1
Address:        127.0.0.1#53

** server can't find blue.home.lan: SERVFAIL
>

I have my server(blue.home.lan), set up on a LAN.

These are my config files:

db.home.lan:
$TTL 3h
home.lan. IN SOA blue.home.lan. (
                          1        ; Serial
                          3h       ; Refresh after 3 hours
                          1h       ; Retry after 1 hour
                          1w       ; Expire after 1 week
                          1h )     ; Negative caching TTL of 1 hour

home.lan.  IN NS  blue.home.lan.

hp.home.lan.             IN A     10.10.10.3
blue.home.lan.           IN A     10.10.10.5
gateway.home.lan.        IN A     10.10.10.1

db.127.0.0:
$TTL 3h
0.0.127.in-addr.arpa. IN SOA toystory.movie.edu. al.movie.edu. (
                          1        ; Serial
                          3h       ; Refresh after 3 hours
                          1h       ; Retry after 1 hour
                          1w       ; Expire after 1 week
                          1h )     ; Negative caching TTL of 1 hour

0.0.127.in-addr.arpa.    IN NS  blue.zin.

1.0.0.127.in-addr.arpa.  IN PTR localhost.

db.10.10.10:
$TTL 3h
10.10.10.in-addr.arpa. IN SOA blue.home.lan. admin.home.lan. (
                          1        ; Serial
                          3h       ; Refresh after 3 hours
                          1h       ; Retry after 1 hour
                          1w       ; Expire after 1 week
                          1h )     ; Negative caching TTL of 1 hour
;
; Name servers
;
10.10.10.in-addr.arpa.     IN NS  blue.zin.

;
; Addresses point to canonical name
;
1.10.10.10.in-addr.arpa.     IN PTR gateway.home.lan.
5.10.10.10.in-addr.arpa.     IN PTR blue.home.lan.
3.10.10.10.in-addr.arpa.     IN PTR hp.home.lan.

named.conf:
options {
        directory "/var/bind";

        forwarders {
        68.87.76.178;
        68.87.78.130;

};

        listen-on-v6 { none; };
        listen-on { 127.0.0.1; 10.10.10.5; };


        pid-file "/var/run/named/named.pid";
};

zone "." IN {
        type hint;
        file "named.ca";
};

zone "localhost" IN {
        type master;
        file "pri/localhost.zone";
        allow-update { none; };
        notify no;
};


zone "home.lan" IN {
        type master;
        file "db.home.lan";

};

zone "10.10.10.in-addr.arpa" in {
        type master;
        file "db.10.10.10";
};

Any suggestions? Help would be gratly appreciated!

From,
Nate Peck


More information about the freebsd-questions mailing list