Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 May 2001 16:30:06 +0100
From:      Mark Drayton <mark.drayton@4thwave.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Named resolver trouble
Message-ID:  <20010502163006.A32702@tethys.valhalla.net>

next in thread | raw e-mail | index | archive | help
Hi

I'm having a couple of problems with a FreeBSD (4.3-RELEASE, BIND
8.2.3-REL) resolver-only nameserver (called nyx).

Problem 1:

It won't dump it's cache. If I do kill -INT <pid> the logfile prints

May  2 16:03:39 nyx named[37148]: dumping nameserver data

but never prints the 'finished dumping nameserver data'. It used to
work, but stopped working around the time I upgraded to -release...

Problem 2:

This could well be me not quite understanding how DNS works.  Whenever I
change a record in one of the zones that our main nameservers are
authoritative for the resolving nameserver (nyx) doesn't pick it up.  I
am incrementing the serial number which is confirmed if I dig the SOA
from nyx. Does the resolver not query the authoritative server until the
zone TTL expires?

/etc/namebd/named.conf:

options {
        directory "/etc/namedb";
        allow-query {
                127.0.0.0/8;
                195.26.32.0/19;
                212.158.59.0/24;
        };
        statistics-interval 5;
};

logging {
        channel stats {
                file "/var/log/named.stats";
        };

        channel debugfile {
                file "/var/log/named.debug";
                print-category yes;
        };

        category statistics { stats; };
};

zone "." {
        type hint;
        file "named.root";
};

zone "0.0.127.IN-ADDR.ARPA" {
        type master;
        file "localhost.rev";
};

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

59.128.212.in-addr.arpa is there so our pop server (which use nyx for
resolution) don't complain about no reverse records for that IP block.
The owner of the block won't delegate the reverse record to us.

Thanks for any help,

-- 

Mark Drayton

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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