Setting primary DNS server bind-9

Kevin Darcy kcd at daimlerchrysler.com
Wed Feb 13 21:30:28 UTC 2002


Why are you trying to load the 22.125.194.in-addr.arpa zone from the
db.127.0.0 zonefile?


- Kevin

cnb at eircom.net wrote:

> I'm trying to set up a previously slave server as a primary as the primary
> has been down for a few weeks and the primary DNS servers out there seem to
> have updated our domain as being non-existent (be gentle, not that familiar
> with DNS). So heres the config:
> I'm running BIND-9.1.0-10
>
> /var/log/messages:
>
> Feb 13 01:19:56 leviathan named: named startup succeeded
> Feb 13 01:19:56 leviathan named[16936]: loading configuration from
> '/etc/named.conf'
> Feb 13 01:19:56 leviathan named[16936]: the default for the 'auth-nxdomain'
> option is now 'no'
> Feb 13 01:19:56 leviathan named[16936]: no IPv6 interfaces found
> Feb 13 01:19:56 leviathan named[16936]: listening on IPv4 interface lo,
> 127.0.0.1#53
> Feb 13 01:19:56 leviathan named[16936]: listening on IPv4 interface eth0,
> 194.125.22.1#53
> Feb 13 01:19:56 leviathan named[16936]: dns_master_load: db.127.0.0:18:
> ignoring out-of-zone data
> Feb 13 01:19:56 leviathan named[16936]: dns_master_load: db.127.0.0:21:
> ignoring out-of-zone data
> Feb 13 01:19:56 leviathan named[16936]: dns_zone_load: zone
> 22.125.194.in-addr.arpa/IN: could not find NS and/or SOA records
> Feb 13 01:19:56 leviathan named[16936]: dns_zone_load: zone
> 22.125.194.in-addr.arpa/IN: has 0 SOA records
> Feb 13 01:19:56 leviathan named[16936]: dns_zone_load: zone
> 22.125.194.in-addr.arpa/IN: no NS records
> Feb 13 01:19:56 leviathan named[16936]: running
>
> /etc/named.conf:
>
> // generated by named-bootconf.pl
>
> options {
>          directory "/var/named";
>          /*
>           * If there is a firewall between you and nameservers you want
>           * to talk to, you might need to uncomment the query-source
>           * directive below.  Previous versions of BIND always asked
>           * questions using port 53, but BIND 8.1 uses an unprivileged
>           * port by default.
>           */
>
>          //query-source address * port 53;
> };
>
> //
> // File:       named.boot
> // Purpose:    give the DNS its startup parameters and
> // list of startup files.
> //
> //
> //
> //
> // XFRNETS parameter limits the transfer of zone information
> // to machines matching the subnet wildcard/mask entries listed
> //
> //
> // XFRNETS
> //
> // establish a loopback entry for this machine, and tell
> // it to load its identity from db.127.0.0
> //
> zone "0.0.127.IN-ADDR.ARPA" {
>          type master;
>          file "db.127.0.0";
> };
>
> //
> // set ourselves as primary server for the zone
> //
> zone "irelands-web.ie" {
>          type master;
>          file "db.zoneinfo";
> };
>
> //
> // provide reverse address-to-host mapping
> //
> zone "22.125.194.in-addr.arpa" {
>          type master;
>          file "db.127.0.0";
> };
>
> //
> // prime the DNS with root server 'hint' information
> //
> zone "." {
>          type hint;
>          file "db.cache";
> };
>
> //
>
> /var/named/db.127.0.0:
>
> ;
> ;    File:      db.127.0.0 file
> ;    Purpose:   This file establishes the identity of this DNS.
> ;               SOA stands for 'start of authority' and sets the
> ;               default parameters for information this DNS is
> ;               authoritative for:
> ;
> $TTL 3600
> 0.0.127.in-addr.arpa.    IN SOA    leviathan.irelands-web.ie.
> hostmaster.irelands-web.ie. (
>          1995121513   ; serial number
>              21600    ; refresh every 6 hours
>              7200     ; retry after 2 hours
>              1209600  ; expire after 2 weeks
>              172800)  ; default ttl is 2 days
> ;
> 0.0.127.in-addr.arpa.        IN NS      leviathan.irelands-web.ie.
> ;
> 1.0.0.127.in-addr.arpa.        IN PTR   localhost.
> ;
>
> /var/named/db.zoneinfo:
>
> $ORIGIN .
> $TTL 172800     ; 2 days
> irelands-web.ie         IN SOA  leviathan.irelands-web.ie.
> hostmaster.irelands-web.ie. (
>                                  1998062504 ; serial
>                                  21600      ; refresh (6 hours)
>                                  7200       ; retry (2 hours)
>                                  1209600    ; expire (2 weeks)
>                                  172800)    ; minimum (2 days)
>
>                          NS      ns.iol.ie.
>                          NS      ns.pipex.net.
>                          NS      titan.irelands-web.ie.
>                          NS      leviathan.irelands-web.ie.
>                          A       194.125.22.1
>                          MX      5 GPO.irelands-web.ie.
>                          MX      10 mxbackup.iol.net.
>                          MX      50 relay.pipex.net.
>
> /etc/resolv.conf:
>
> search irelands-web.ie
> nameserver 194.125.22.1
> nameserver 192.111.39.1
> nameserver 192.111.39.4
>
> Any ideas?
>
> TIA
>
> Chris



More information about the bind-users mailing list