problems with 8.2.2P5 and CNAMEs
Szczepan Pacut
S.Pacut at gazeta.pl
Sun Nov 14 22:15:09 UTC 1999
Hi everybody!
I've installed bind 8.2.2 P5 on solaris 7/x86 box. My /etc/named.conf looks like this:
options {
directory "/etc/named/";
multiple-cnames yes;
forward first ;
forwarders {
194.204.152.34;
148.81.16.51;
};
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "db.127.0.0";
};
zone "gazeta.pl" in {
type master;
file "db.gazeta.pl";
};
zone "gazeta.com.pl" in {
type master;
file "db.gazeta.com.pl";
};
[..]
and in files:
db.gazeta.pl:
$TTL 1D
@ 86400 SOA hera.gazeta.pl. mlopaci.gazeta.pl. (
1999111413 10800 3600 604800 86400 )
IN NS hera.gazeta.pl.
IN NS artemida.krak.gazeta.pl.
IN MX 10 atena.gazeta.pl.
$ORIGIN gazeta.pl.
http A 193.42.228.7
www CNAME http.gazeta.pl.
[..]
db.gazeta.com.pl:
$ORIGIN com.pl.
gazeta IN SOA hera.gazeta.pl. mlopaci.gazeta.pl. (
1999111401 10800 3600 604800 86400 )
IN NS hera.gazeta.pl.
IN NS artemida.krak.gazeta.pl.
IN MX 10 atena.gazeta.pl.
$ORIGIN gazeta.com.pl.
www MX 10 atena.gazeta.pl.
IN CNAME http.gazeta.pl.
and after starting named I get such errors:
hera named[16783]: Zone "gazeta.com.pl" (file db.gazeta.com.pl): No default TTL set using SOA
minimum instead
hera named[16783]: db.gazeta.com.pl:8:www.gazeta.com.pl: CNAME and OTHER data error
hera named[16783]: master zone "gazeta.com.pl" (IN) rejected due to errors (serial 1999111401)
hera named[16783]: db.gazeta.pl:9:www.gazeta.pl: CNAME and OTHER data error
hera named[16783]: master zone "gazeta.pl" (IN) rejected due to errors (serial 1999111413)
so my nameserver rejects serving my domains because of CNAMEs in db* file. When I've changed CNAME
record to A one everything seems to work properly. But it's more convenient to me to have CNAME
records.
Where is the mistake?
P.S. I didn't noticed any problems with version 8.1.x - it started after upgrading to 8.2.2 P3 and
later to 8.2.2 P5
--
____ ____
/ __)| \ Szczepan Pacut http://www.ia.pw.edu.pl/~spacut
\__ \| _/ email: S.Pacut at gazeta.pl
(____/|_| ICQ 22551352
More information about the bind-users
mailing list