From owner-freebsd-isp Sun Jun 4 9:30:36 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 B5C4237B905 for ; Sun, 4 Jun 2000 09:30:32 -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 LAA07657; Sun, 4 Jun 2000 11:21:25 -0500 (CDT) Date: Sun, 4 Jun 2000 11:21:24 -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 One thing I can tell you that I have read in the Dns and Bind book is that an alias should never be on the righthand side of the Resource Records. For example: This the Alias: ALIAS of wormhole.movie.com wh.movie.com IN CNAME wormhole.movie.com then we can not use wh.movie.com on the righthand side For example: anything IN NS wh.movie.com Or whatever IN CNAME wh.movie.com I hope you understand. One suggestion, Try to borrow the book "DNS and BIND" book, if you are serious. Jahanur 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 > www IN CNAME web.alpha > ftp IN CNAME web.alpha > IN MX 10 mail.alpha > test IN CNAME web.alpha > admin IN CNAME admin.alpha > webmail IN CNAME webmail.alpha > -- > > 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