Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jun 2000 11:21:24 -0500 (CDT)
From:      Jahanur R Subedar <jahanur@jjsoft.com>
To:        Gabriel Ambuehl <gabriel_ambuehl@buz.ch>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: BIND doesn't want to accept all of my zonefiles..
Message-ID:  <Pine.BSF.3.96.1000604111226.7577D-100000@ns2.jjsoft.com>
In-Reply-To: <154262607719.20000604121311@buz.ch>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.1000604111226.7577D-100000>