DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 17th February 2010
Zmyrgel Zmyrgel is offline
Port Guard
 
Join Date: May 2008
Posts: 30
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
 

Tags
bind


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeBSD Three FreeBSD security anouncements (Bind, ntpd and ZFS) J65nko News 0 6th January 2010 11:30 PM
Bind-9.5 Petrocelli08 FreeBSD Ports and Packages 6 29th January 2009 12:03 AM
Help secure old BIND on FreeBSD 5.4 andrewk FreeBSD Security 2 22nd July 2008 08:12 PM
squid bind problem samile Other BSD and UNIX/UNIX-like 0 11th July 2008 02:13 PM
BIND as secondary for Windows DNS? cwhitmore FreeBSD Installation and Upgrading 7 16th May 2008 01:13 PM


All times are GMT. The time now is 10:22 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick