Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jun 2000 11:30:25 -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.1000604112226.7577E-100000@ns2.jjsoft.com>
In-Reply-To: <154262607719.20000604121311@buz.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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