Re: Named errors - running BIND in sandbox

From: Ceri Davies (ceri_at_submonkey.net)
Date: 12/01/03

  • Next message: Sander Smeenk: "Re: Vinum & U320 SCSI, slower than UDMA100 IDE ?"
    Date: Mon, 1 Dec 2003 18:44:46 +0000
    To: Stacey Roberts <stacey@vickiandstacey.com>
    
    
    

    On Sat, Nov 29, 2003 at 04:18:13PM +0000, Stacey Roberts wrote:
    > Hello,
    > I know that I've asked this in the past, but after a
    > fresh reinstall of the machine on my local network that provided
    > (amongst other services) DNS to all other machines (FreeBSD, Solaris,
    > WIn2K & WinXP Pro), I find that I am not having much success setting up
    > BIND in a sandbox.
    >
    > The box is running FreeBSD-4.9Stable (after initially installing
    > 4.8-Rel) after cvsup of sources.
    >
    > Basically, the errors I get on start up is here:

    > /etc/namedb/etc # tail /var/log/messages
    > Nov 29 15:42:39 Demon named[226]: 'masters' statement present for master zone 'vickiandstacey.com'
    > Nov 29 15:42:39 Demon named[226]: zone 'vickiandstacey.com' did not validate, skipping

    > zone "vickiandstacey.com" {
    > type master;
    > file "master/vickiandstacey.com.db";
    > allow-transfer { 192.168.1.0/24; };
    > masters {
    > 192.168.1.8;
    > };
    > };

    You have declared the zone as type master, but also included a masters
    statement. If this machine is the master, then remove the masters
    statement, otherwise, declare it as type slave.

    > Nov 29 15:42:39 Demon named[226]: bind(dfd=20, [192.168.1.8].53): Address already in use
    > Nov 29 15:42:39 Demon named[226]: deleting interface [192.168.1.8].53
    > Nov 29 15:42:39 Demon named[226]: bind(dfd=20, [127.0.0.1].53): Address already in use
    > Nov 29 15:42:39 Demon named[226]: deleting interface [127.0.0.1].53

    named was already running when you tried starting it this time.

    > Nov 29 15:42:39 Demon named[234]: can't exec /bin/named-xfer: No such file or directory

    You didn't show the contents of the bin directory below, but I assume
    it's empty; copy /usr/libexec/named-xfer in there (make sure it's
    statically linked, which is the default in 4.9-RELEASE).

    > Nov 29 15:43:47 Demon named-xfer[240]: [192.168.1.8] not authoritative for 1.168.192.in-addr.arpa, SOA query got rcode 0, aa 0, ancount 0, aucount 13

    Now, I'm taking a big guess here.
    You didn't have 1.168.192.in-addr.arpa in the named.conf before you
    started named this time, but now you do. Since you declared it as a
    slave zone (which looks to be incorrect), named tried to transfer it
    from itself, which it couldn't do as it wasn't loaded before.

    > What I had prior to installing, I would get "Demon.vickiandstacey.com"
    > returned as the Default Server, not localhost as above.

    It is now listed second in your resolv.conf.

    > Secondly, the address 82.68.31.177 is the real IP address of Demon (I
    > have a block of 8) that is translated to 192.168.1.8, the internal IP
    > address of Demon. So I'd have hoped that trying to set server to Demon,
    > would have resulted in "Address: 192.168.1.8" instead of the machine's
    > real IP address.

    Since the zone vickiandstacey.com didn't load, this server wasn't
    authoritative for that zone, and so went to the forwarder you have
    listed and asked there; that server then gave the public IP.

    -- 
    
    


    • application/pgp-signature attachment: stored

  • Next message: Sander Smeenk: "Re: Vinum & U320 SCSI, slower than UDMA100 IDE ?"

    Relevant Pages

    • Re: Using Master as Slave at the same time
      ... The zone I try to add as new master does not exist on neither of the ... The second is configured as Slave using ip 123.123.123.2 ... >> server as Master. ...
      (microsoft.public.windows.server.dns)
    • Using Master as Slave at the same time
      ... The second is configured as Slave using ip 123.123.123.2 ... each server and use the second IP on the master as a slave. ... So, on the Master we added 123.123.123.3, and on the slave we added ... In the slave-DNS we added a new zone as primary-zone with the secondary ip ...
      (microsoft.public.windows.server.dns)
    • Re: Secondary zone not loading from master
      ... I tried removing the dns role and adding ... Are the two zone masters the same machine? ... Master Serial Number so if this is not ... (then specify the Master/primary server): ...
      (microsoft.public.windows.server.dns)
    • Re: Using Master as Slave at the same time
      ... The second is configured as Slave using ip 123.123.123.2 ... > master as a slave. ... > secondary ip which should make this zone using the ... > server as Master. ...
      (microsoft.public.windows.server.dns)
    • RE: exchange server cannot mount mailbox store
      ... What's the exact detailed DNS Events ... Type desired internal IP address of your SBS server. ... it will delete the reverse lookup zone if the zone no longer ... Microsoft CSS Online Newsgroup Support ...
      (microsoft.public.windows.server.sbs)