Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 May 2005 01:55:16 +0200
From:      Alex de Kruijff <freebsd@akruijff.dds.nl>
To:        Fafa Hafiz Krantz <fteg@london.com>
Cc:        questions@freebsd.org
Subject:   Re: What is --- WRONG --- with my network?
Message-ID:  <20050506235516.GC3564@Alex.lan>
In-Reply-To: <20050506132055.26942164037@ws1-4.us4.outblaze.com>
References:  <20050506132055.26942164037@ws1-4.us4.outblaze.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 06, 2005 at 08:20:54AM -0500, Fafa Hafiz Krantz wrote:
> 
> > Unfortunately, you appear to be preemptively rejecting the most obvious
> > advice, and implicitly asking that people start troubleshooting "from
> > the middle". Was your machine up without reboot for months? If so,
> > there's no guarantee that the state of named.conf actually reflects the
> > state of the previously running named prior to a reboot (alas, I've seen
> > this all too often).
> 
> No, I had been rooting it quite often since I was testing PF.
> 
> > Can you begin by posting your fully-functional named.conf and
> > resolv.conf? And possibly describing exactly what you mean by "my
> > nameserver is dysfunctional"? Do you mean that you cannot resolve
> > addresses from your host? Does dig work against your local nameserver
> > instance? Can you see any of the root servers with dig? Is named just
> > refusing to start? ... and so on.
> 
> # cat /var/named/etc/namedb/named.conf
> #
> 
>    options {
>         directory "/etc/namedb";
>         pid-file "/var/run/named/pid";
>    };

I also have:
        dump-file       "/var/dump/named_dump.db";
        statistics-file "/var/stats/named.stats";

> 
>    zone "." {
>         type hint;
>         file "named.root";
>    };
> 
>    zone "domain.com" {
>         type master;
>         file "db.domain.com";
>         allow-transfer { 209.98.223.41; };
>    };
> 
>    zone "3.0.7.5.0.0.4.0.8.1.6.0.1.0.0.2.ip6.arpa" {
>         type master;
>         file "db.terrabionic.com.rev";
>         allow-transfer { 209.98.223.41; };
>    };
> 
>    zone "terrabionic.lan" {
>         type master;
>         file "db.terrabionic.lan";
>    };
> 
>    zone "187.168.192.in-addr.arpa" {
>         type master;
>         file "db.terrabionic.lan.rev";
>    };
> 
>    zone "0.0.127.in-addr.arpa" {
>         type master;
>         file "db.localhost.rev";
>    };

It could be that type slave files need to go in the subdirectory slave
and type master files need to go in the subdirectory master. I have
this:

/*
zone "example.com" {
        type slave;
        file "slave/example.com";
        masters {
                192.168.1.1;
        };
};

zone "0.168.192.in-addr.arpa" {
        type slave;
        file "slave/0.168.192.in-addr.arpa";
        masters {
                192.168.1.1;
        };
};
*/

Check you /var/log/messages for errors about this.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050506235516.GC3564>