Re: Trouble loading a zone file after updating BIND

2011-03-31 Thread Torinthiel
On 03/31/11 04:54, Mike Diggins wrote:
 The A records for the two nameservers exist in the sub.Domain.CA zone
 file. I can fix the error by adding the two nameserver A records to the
 Domain.CA zone file but I'm wondering why this is an error with 9.7, and
 not 9.2.1, and is this the correct way to fix this?

Yes, it is the correct way. These are so-called 'glue records' and are
needed if (and only if) the nameservers are below the zone apex. If you
have one NS below zone apex, and another somewhere outside, than you
need one glue record. And these are needed because server needs to know
about NS, master because it needs to send notify and other servers (like
.CA in your example) to provide correct referrals.

Probably in 9.2 it wasn't required, but according to RFC 1034, last
paragraph of section 4.2.1, it is correct behaviour to require it.

Torinthiek



signature.asc
Description: OpenPGP digital signature
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: Trouble loading a zone file after updating BIND

2011-03-31 Thread Mark Andrews

In message Pine.WNT.4.64.1103302249090.2864@diggins-PC, Mike Diggins writes:
 On the master name server, I'm upgrading BIND from an older version, 
 9.2.1, to 9.7. However, when I attempt to load this zone Domain.CA, it 
 gives me an error:

9.7 catches more common configuration errors.  Remember nameservers
can't catch all configuration errors.  Just because a zone loads
doesn't mean that it will work.
 
Mark
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Trouble loading a zone file after updating BIND

2011-03-30 Thread Mike Diggins


I have a hidden master name server for the domain domain.CA. The name 
servers for this domain are in the subdomain sub.Domain.CA as ns1 and ns2. 
Those are the name servers my clients query. The zone file starts off like 
this:


$TTL 3600
Domain.CA.  IN  SOA  ns1.sub.Domain.CA.  dnsgrp.Domain.CA. (
20782   ; Serial
3600; Refresh
1800; Retry
604800  ; Expire
3600 )  ; Negative TTL
;
;--
;Name Servers
;--
IN  NS  ns1.sub.Domain.CA.
IN  NS  ns2.sub.Domain.CA.
...etc

On the master name server, I'm upgrading BIND from an older version, 
9.2.1, to 9.7. However, when I attempt to load this zone Domain.CA, it 
gives me an error:


Mar 29 09:52:13 ns-master named: zone Domain.CA/IN: NS 'ns2.sub.Domain.CA' 
has no address records (A or )
Mar 29 09:52:13 ns-master named: zone Domain.CA/IN: NS 'ns1.sub.Domain.CA' 
has no address records (A or )
Mar 29 09:52:13 ns-master named: zone Domain.CA/IN: not loaded due to 
errors.


The A records for the two nameservers exist in the sub.Domain.CA zone 
file. I can fix the error by adding the two nameserver A records to the 
Domain.CA zone file but I'm wondering why this is an error with 9.7, and 
not 9.2.1, and is this the correct way to fix this?


I hope this isn't DNS 101 ;)

-Mike


___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users