From owner-freebsd-isp Sun Jun 4 9:39:29 2000 Delivered-To: freebsd-isp@freebsd.org Received: from ns2.jjsoft.com (fig2.figdav.com [208.152.114.19]) by hub.freebsd.org (Postfix) with ESMTP id 75C8537BBB6 for ; Sun, 4 Jun 2000 09:39:25 -0700 (PDT) (envelope-from jahanur@jjsoft.com) Received: from ns2.jjsoft.com (ns2.jjsoft.com [208.152.114.19]) by ns2.jjsoft.com (8.9.0/8.9.0) with SMTP id LAA07675; Sun, 4 Jun 2000 11:30:28 -0500 (CDT) Date: Sun, 4 Jun 2000 11:30:25 -0500 (CDT) From: Jahanur R Subedar To: Gabriel Ambuehl Cc: freebsd-isp@FreeBSD.ORG Subject: Re: BIND doesn't want to accept all of my zonefiles.. In-Reply-To: <154262607719.20000604121311@buz.ch> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 4 Jun 2000, Gabriel Ambuehl wrote: > Hello, > I've got a problem with my BIND setup. While it's doing its job as it should > as long as I use trivial zonefiles with just one or two A records and > several CNAMES, it doesn't want to accept more complicated zonefiles > as the following: > -- > @ IN SOA ns1.root-servers.ch. admin.root-servers.ch. ( > 2000060412 > 10800 > 3600 > 432000 > 38400 ) > IN NS ns1 > IN NS ns2 > ns1 IN A 195.49.62.125 > ns2 IN A 195.49.62.126 > ns3 IN A 195.49.33.19 > ns4 IN A 195.49.33.20 > > alpha IN A 195.49.62.125 > beta IN A 195.49.33.19 > > ;Special Records for alpha. > ;The box responsible for the webmail services for users on alpha > webmail.alpha IN A 195.49.62.125 > ;The box responsible for the http services for users on alpha > web.alpha IN A 195.49.62.125 > ;The box responsible for the mail services for users on alpha > mail.alpha IN A 195.49.62.125 > ;The box responsible for the qmailadmin services for users on alpha, in almost > admin.alpha IN A 195.49.62.125 > > > IN CNAME web.alpha > mail IN CNAME mail.alpha The above line means: mail.mail.alpha I dont know you want it or not. > www IN CNAME web.alpha > ftp IN CNAME web.alpha > IN MX 10 mail.alpha Are you expecting any mail in ftp.whatever.com. If you live the most lefthandside field empty then the resolver assumes the immediat entry, in the above case you are saying ftp IN MX 10 mail.alpha.whatever.com I think you ment to do like this: mail IN CNAME alpha IN MX 10 alpha > test IN CNAME web.alpha > admin IN CNAME admin.alpha > webmail IN CNAME webmail.alpha Please read my previous email for the above CNAME record. > -- > > While I can't find any errors in it BIND seems to do and complains > about them in syslog: > Jun 4 12:02:45 alpha named[18495]: Zone "root-servers.ch" (file /var/named/root-servers.ch.hosts): No default TTL set using SOA minimum instead > Jun 4 12:02:45 alpha named[18495]: /var/named/root-servers.ch.hosts: WARNING SOA expire value is less than 7 days (432000) > Jun 4 12:02:45 alpha named[18495]: admin.alpha.root-servers.ch has CNAME and other data (invalid) > Jun 4 12:02:45 alpha named[18495]: /var/named/root-servers.ch.hosts:25:admin.alpha.root-servers.ch: CNAME and OTHER data error > Jun 4 12:02:45 alpha named[18495]: ftp.root-servers.ch has CNAME and other data (invalid) > Jun 4 12:02:45 alpha named[18495]: /var/named/root-servers.ch.hosts:31:ftp.root-servers.ch: CNAME and OTHER data error > Jun 4 12:02:45 alpha named[18495]: master zone "root-servers.ch" (IN) rejected due to errors (serial 2000060411) > > If I comment out the lines it complains about (which isn't a solution > anyway) it begins to complain about other ones. What am I doing wrong? > > > Best regards, > Gabriel > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > Jahanur R Subedar WWW.JJSOFT.COM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message