bind 9.1.2 zonefile trouble
Barry Margolin
barmar at genuity.net
Thu Mar 14 18:56:19 UTC 2002
In article <a6qj6o$189 at pub3.rc.vix.com>, SBiella <sbiella at hal9001.net> wrote:
>I have a master nameserver running bind 8, I need to switch to a new
>server running bind 9.1.2, I have copied the named.conf and the zone
>files from the old to the new server. The new server starts and works
>fine with the cache and the root zone, but It doesn't resolve any
>address from the master zone files.
>
>I can not find where is the error... any help? :-)
Have you tried checking your log file to see named's error messages?
I notice you don't have a $TTL directive in the zone file. BIND 8 was
permissive about this (it would revert to the old behavior of using the SOA
Minimum field as the default TTL), but I think BIND 9 requires it if you
don't have explicit TTLs on every record.
>This is a master zone file:
>
>@ IN SOA cobest.com. hostmaster.vnet.it (
> 2002031313 ; serial, todays date + todays
>serial n
> 300 ; Refresh - 5 Minutes
> 60 ; Retry - 1 minute
> 1209600 ; Expire - 2 Weeks
> 43200) ; Minimum - 12 Hours
>;
> TXT "Cobest srl"
> NS mz01.vnet.it. ; Inet Address of name
>server
> NS mz02.vnet.it.
> MX 10 mail.vnet.it. ; Primary Mail Exchanger
> MX 20 mail.hal9001.net. ; Secondary Mail
>Exchanger
>;
>cobest.com. A 195.191.47.238
>;
>www CNAME cobest.com.
>and this is the named.conf file:
>
>options {
> directory "/var/named";
> query-source address * port 53;
> allow-transfer {
> 80.16.61.155;
> 80.16.61.156;
> 80.16.61.147;
> 151.99.125.3;
> };
> listen-on port 53 {
> 80.16.61.146;
> };
>};
>
>logging {
> category lame-servers { null; };
> category cname { null; };
>};
>
>zone "." {
> type hint;
> file "root.hints";
>};
>
>zone "0.0.127.in-addr.arpa" {
> type master;
> file "pz2/0.0.127.in-addr.arpa";
>};
>
>zone "cobest.com" {
> type master;
> file "pz2/cobest.com";
>};
>
--
Barry Margolin, barmar at 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.
More information about the bind-users
mailing list