Problems with zone transfers
Danny Mayer
mayer at gis.net
Tue Jan 30 01:57:07 UTC 2001
If this is the slave's named.conf, then it's wrong. The slave needs to
a) be declared as slave and not master ;
b) reference the master in the zone statement;
c) you show have the master reference the slave in the zone statement using
the notify option.
Danny
At 04:44 AM 1/29/01, Alexander Stade wrote:
>Hi!
>
>I'm having problems with zone transfers between my master and slave. I have
>lots of zones, so I don't feel like doing it manually (which works) for each
>of them all the time. Suppose I could set up a cron job, but I would prefer
>having it working properly.
>
>I read through some of the previous messages and it appears as if I get a
>"non-authoritative" answer, something is screwed up with my zone files..
>Anyway, i have submitted my named.conf and one of the zone files in question
>as a part of this message. If anybody can help me figure out why this isn't
>working, I would be very happy. As a side note, my named is running in a
>chroot jail, so I don't know why it isn't logging, but it isn't. I can't
>find any reason why this is the way it is.
>
>Again, any suggestions are very welcome.
>
>Alex
>
>
>-----------------------BEGIN NAMED.CONF-------------------------
>
>options {
> directory "/namedb";
> multiple-cnames yes;
> notify yes;
> recursion yes;
> cleaning-interval 60;
> dump-file "/tmp/named_dump_ext.db";
> pid-file "/var/run/named_ext.pid";
> statistics-file "/var/log/named_ext.statistics";
> listen-on port 53 { 64.81.58.232; };
>};
>
>zone "." in {
> type hint;
> file "root.cache";
>};
>
>zone "localhost" in {
> type master;
> file "localhost";
>};
>
>zone "screamnet.com" in {
> type master;
> file "screamnet.com";
>};
>
>zone "58.81.64.in-addr.arpa" in {
> type master;
> file "64.db";
>};
>
>zone "0.0.127.in-addr.arpa" in {
> type master;
> file "127.db";
>};
>
>---------------BEGIN ZONE SCREAMNET.COM--------------------
>
>$TTL 28800
>
>@ SOA hugin.screamnet.com. hostmaster.screamnet.com.
>(
> 2 ; serial
> 28800 ; refresh
> 7200 ; retry
> 604800 ; expire
> 86400 ; minimum
> )
>
> NS hugin.screamnet.com.
> NS munin.screamnet.com.
>
>localhost A 127.0.0.1
>
>midgard A 64.81.58.127
>thor A 64.81.58.128
>loki A 64.81.58.129
>fenrir A 64.81.58.130
>odin A 64.81.58.131
>yggdrasil A 64.81.58.230
>munin A 64.81.58.231
>hugin A 64.81.58.232
>screamnet.com. A 64.81.58.131
>mail A 64.81.58.128
>
>screamnet.com. MX 10 mail
>
>www CNAME odin
>ftp CNAME odin
>webmail CNAME mail
>smtp CNAME mail
More information about the bind-users
mailing list