View Single Post
  #1   (View Single Post)  
Old 17th February 2010
Zmyrgel Zmyrgel is offline
Port Guard
 
Join Date: May 2008
Posts: 26
Default Problems setting up Bind

I'm trying to setup bind for my home lan but I'm hitting a wall with this.

I've gotten so far that named starts and simple queries work (like google) but log has some errors which I've tried to fix in vain.
For starters I'm not sure about those reverse addresses.

I think its some obvious mistake in the configs but I can't seem to figure it out, any help would be appreciated.

Log output snippet:
Code:
Feb 17 23:25:21 hydra named[9602]: master/db.192.168.1:9: ignoring out-of-zone data (wickedbsd.net)
Feb 17 23:25:21 hydra named[9602]: zone 1.168.192.in-addr.arpa/IN: has no NS records
Feb 17 23:25:21 hydra named[9602]: master/db.192.168.1.32:9: ignoring out-of-zone data (wickedbsd.net)
Feb 17 23:25:21 hydra named[9602]: master/db.192.168.1.32:10: ignoring out-of-zone data (33.1.168.192.in-addr.arpa)
Feb 17 23:25:21 hydra named[9602]: zone 32.1.168.192.in-addr.arpa/IN: has no NS records
interface addresses:
Code:
re1: 192.168.1.1 255.255.255.224
rum0: 192.168.1.33 255.255.255.224
named.conf snippet:
Code:
zone "1.168.192.in-addr.arpa" in {
        type master;
        file "master/db.192.168.1";
};

zone "32.1.168.192.in-addr.arpa" in {
        type master;
        file "master/db.192.168.1.32";
};

zone "wickedbsd.net" {
        type master;
        file "master/db.wickedbsd.net";
};
db.wickedbsd.net:
Code:
$TTL 3h
wickedbsd.net. IN SOA hydra.wickedbsd.net. root.hydra.wickedbsd.net. (
        1        ; Serial
        3h       ; Refresh after 3 hours
        1h       ; Retry after 1 hour
        1w       ; Expire after 1 week
        1h )     ; Negative caching TTL of 1 hour

wickedbsd.net.             IN NS        hydra.wickedbsd.net.
localhost.wickedbsd.net.   IN A         127.0.0.1
hydra.wickedbsd.net.       IN A         192.168.1.1
hydra.wickedbsd.net.       IN A         192.168.1.33
wickedbsd.net.             IN MX    10  hydra.wickedbsd.net.
www.wickedbsd.net.         IN CNAME     hydra.wickedbsd.net.
ftp.wickedbsd.net.         IN CNAME     hydra.wickedbsd.net.
mail.wickedbsd.net.        IN CNAME     hydra.wickedbsd.net.
lan.wickedbsd.net.         IN A         192.168.1.1
wlan.wickedbsd.net.        IN A         192.168.1.33
db.192.168.1
Code:
$TTL 3h
1.168.192.in-addr.arpa. IN SOA hydra.wickedbsd.net. root.hydra.wickedbsd.net. (
        1        ; Serial
        3h       ; Refresh after 3 hours
        1h       ; Retry after 1 hour
        1w       ; Expire after 1 week
        1h )     ; Negative caching TTL of 1 hour

wickedbsd.net.              IN NS   hydra.wickedbsd.net.
1.1.168.192.in-addr.arpa.   IN PTR  hydra.wickedbsd.net.
db.192.168.1.32
Code:
$TTL 3h
32.1.168.192.in-addr.arpa. IN SOA hydra.wickedbsd.net. root.hydra.wickedbsd.net. (
        1        ; Serial
        3h       ; Refresh after 3 hours
        1h       ; Retry after 1 hour
        1w       ; Expire after 1 week
        1h )     ; Negative caching TTL of 1 hour

wickedbsd.net.              IN NS   hydra.wickedbsd.net.
33.1.168.192.in-addr.arpa.  IN PTR  hydra.wickedbsd.net.
Reply With Quote