Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

BIND 9.1.10 problem...

10 views
Skip to first unread message

RAJENDRA PRASAD

unread,
Aug 30, 2001, 2:35:54 PM8/30/01
to

Hi,
I have a problem while configuring Redhat 7.1 m/c as a secondary server
running Bind 9.1.0-10, with a master server which is Redhat 6.2 m/c
running Bind 8.1.2-5. My secondary server is giving a lot of errors in the
log message as below, and it is not able to get the named.data and
named.rev files from the primary server.I'am also sending my master and
slave zone files below. Kindly send me a solution for the problem. Is
there any incompatibility with the Bind versions between master and
slave?..

Aug 17 20:58:58 lpc4 named[29553]: starting BIND 9.1.0 -u named
Aug 17 20:58:58 lpc4 named[29553]: using 1 CPU
Aug 17 20:58:58 lpc4 named[29557]: loading configuration from
'/etc/named.conf' Aug 17 20:58:58 lpc4 named[29557]: the default for the
'auth-nxdomain' option is now 'no'
Aug 17 20:58:58 lpc4 named[29557]: no IPv6 interfaces found
Aug 17 20:58:58 lpc4 named[29557]: listening on IPv4 interface lo,
127.0.0.1#53 Aug 17 20:58:58 lpc4 named[29557]: listening on IPv4
interface eth0, 202.1.1.135#53
Aug 17 20:58:58 lpc4 named[29557]: dns_zone_load: zone ./IN: could not
find NS and/or SOA records
Aug 17 20:58:58 lpc4 named[29557]: dns_zone_load: zone ./IN: has 0 SOA
records
Aug 17 20:58:58 lpc4 named[29557]: dns_zone_load: zone
Aug 17 20:58:58 lpc4 named[29557]: running
Aug 17 20:58:58 lpc4 named[29557]: refresh_callback: zone
intranet.jncasr.ac.in/IN: unexpected rcode (SERVFAIL) from 202.1.1.2#53
Aug 17 20:58:59 lpc4 named[29557]: refresh_callback: zone
1.1.202.in-addr.arpa/IN: unexpected rcode (SERVFAIL) from 202.1.1.2#53
Aug 17 20:59:45 lpc4 named[29557]: refresh_callback: zone
intranet.jncasr.ac.in/IN: unexpected rcode (SERVFAIL) from 202.1.1.2#53

*****************************************************************************
S.Rajendra Prasad. Phone No : 2272425 Senior Engineer-CS Fax No : 2277189
CMC Limited, Pager No : 9624-213791 No 10/3, Mithra Towers E-Mail:
pra...@blr.cmc.net.in K.B.Road, Bangalore -560001
*****************************************************************************

*****************************************************************************

Bind version on Master = 8.1.2-5
Bind version on Slave = 9.1.0-10

Master:
***********
NAMED.CONF:-
***************

// generated by named-bootconf.pl

options {
directory "/etc/dns";
/*
* 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;
};

//
// a caching only nameserver config
//
//zone "." {
// type hint;
// file "named.ca";
//};zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
};
zone "intranet.jncasr.ac.in" {
type master;
file "named.data";
allow-transfer { 202.1.1.135; localhost; };
};
zone "1.1.202.in-addr.arpa" {
type master;
file "named.rev";
};
zone "." {
type master;
file "named.ca";
};


NAMED.LOCAL :-
****************

@ 9999999 IN SOA intranet.jncasr.in
root.intranet.jncasr.in
(
1.3 ; Serial
3600 ; Refresh
300 ; Retry
3600000 ; Expire
86400 ) ; Minimum
intranet.jncasr.in. IN NS lpc2
1 IN PTR localhost
1 IN PTR lpc1.intranet.jncasr.in.
1 IN PTR lpc4.intranet.jncasr.in.

NAMED.DATA :-
**************
; name server data file
; (also see /etc/named.boot)
;
; NAME TTL CLASS TYPE RDATA
;
; setting default domain to "intranet.jncasr.in"
;
@ 9999999 IN SOA .. root... (
1.4 ; Serial
3600 ; Refresh
300 ; Retry
3600000 ; Expire
86400 ) ; Minimum
@ IN MX 10
lpc2.intranet.jncasr.ac.in.
loopback 9999999 IN A 127.0.0.1 ; loopback
(lo0) name/address
localhost 9999999 IN CNAME loopback
jncproxy.intranet.jncasr.ac.in. IN A 202.1.1.1
lpc2.intranet.jncasr.ac.in. IN A 202.1.1.2
hp1.intranet.jncasr.ac.in. IN A 202.1.1.3

NAMED.REV:-
**************

; BIND version named 4.9.3-P1
; zone '1.1.202.in-addr.Arpa' last serial 0
$ORIGIN 1.1.202.in-addr.arpa.
IN SOA lpc2.intranet.jncasr.in. (
1.3
3600
300
3600000
86400 )
IN NS lpc2.intranet.jncasr.ac.in.
1 IN PTR jncproxy.intranet.jncasr.ac.in.
2 IN PTR lpc2.intranet.jncasr.ac.in.
3 IN PTR hp1.intranet.jncasr.ac.in.
4 IN PTR hp2.intranet.jncasr.ac.in.


******************************************************************************
SLAVE SERVER:-
***************
NAMED.CONF:-
****************

options {
directory "/etc/dns";
/*
* 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;
};

//
// a caching only nameserver config
//
//zone "." {
// type hint;
// file "named.ca";
//};

zone "0.0.127.in-addr.arpa"IN { type master;
file "named.local";
};
zone "intranet.jncasr.ac.in"IN {
type slave;
file "named.data";
masters{202.1.1.2;};
};

zone "1.1.202.in-addr.arpa"IN {
type slave;
file "named.rev";
masters{202.1.1.2;};
};
zone "."IN {
type master;
file "named.ca";
};

NAMED.LOCAL:
***************
$TTL 86400

0.0.127.in-addr.arpa. IN SOA intranet.jncasr.in.
root.intranet.jncasr.in.(
1 ; Serial
3600 ; Refresh
300 ; Retry
3600000 ; Expire
86400 ) ; Minimum
intranet.jncasr.in. IN NS lpc2
1 IN PTR localhost
1 IN PTR lpcr2.intranet.jncasr.in.

------------------------------ END ---------------------------------------

Barry Margolin

unread,
Aug 30, 2001, 3:05:48 PM8/30/01
to
In article <9mm12a$9...@pub3.rc.vix.com>,

RAJENDRA PRASAD <pra...@blr.cmc.net.in> wrote:
>Aug 17 20:58:58 lpc4 named[29557]: dns_zone_load: zone ./IN: could not
>find NS and/or SOA records
>Aug 17 20:58:58 lpc4 named[29557]: dns_zone_load: zone ./IN: has 0 SOA
>records

These errors refer to the named.ca file, but you didn't post that file. If
you're using the standard Internet named.ca file, it's intended to be used
with "type hint", not "type master".

>Aug 17 20:58:58 lpc4 named[29557]: dns_zone_load: zone
>Aug 17 20:58:58 lpc4 named[29557]: running
>Aug 17 20:58:58 lpc4 named[29557]: refresh_callback: zone
>intranet.jncasr.ac.in/IN: unexpected rcode (SERVFAIL) from 202.1.1.2#53
>Aug 17 20:58:59 lpc4 named[29557]: refresh_callback: zone
>1.1.202.in-addr.arpa/IN: unexpected rcode (SERVFAIL) from 202.1.1.2#53
>Aug 17 20:59:45 lpc4 named[29557]: refresh_callback: zone
>intranet.jncasr.ac.in/IN: unexpected rcode (SERVFAIL) from 202.1.1.2#53

You need to check the log file on the master server to see why it was
unable to load these two domains.

>NAMED.DATA :-

This file doesn't have any NS records. BIND requires at least one NS record.

>**************
>; name server data file
>; (also see /etc/named.boot)
>;
>; NAME TTL CLASS TYPE RDATA
>;
>; setting default domain to "intranet.jncasr.in"
>;
>@ 9999999 IN SOA .. root... (
> 1.4 ; Serial

I don't think recent versions of BIND allow dotted serial numbers. But
even if it does, they've never been a good idea (they don't work like most
people expect), so you should change to ordinary integers.

> 3600 ; Refresh
> 300 ; Retry
> 3600000 ; Expire
> 86400 ) ; Minimum
>@ IN MX 10
>lpc2.intranet.jncasr.ac.in.
>loopback 9999999 IN A 127.0.0.1 ; loopback
>(lo0) name/address
>localhost 9999999 IN CNAME loopback
>jncproxy.intranet.jncasr.ac.in. IN A 202.1.1.1
>lpc2.intranet.jncasr.ac.in. IN A 202.1.1.2
>hp1.intranet.jncasr.ac.in. IN A 202.1.1.3
>
>NAMED.REV:-
>**************
>
>; BIND version named 4.9.3-P1
>; zone '1.1.202.in-addr.Arpa' last serial 0
>$ORIGIN 1.1.202.in-addr.arpa.
> IN SOA lpc2.intranet.jncasr.in. (

You're missing a field in the SOA record, root.intranet.jncasr.in.

--
Barry Margolin, bar...@genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


0 new messages