Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jan 2001 00:15:47 -0800 (PST)
From:      <william@hq.newdream.net>
To:        parthasarathi biswas <parthax@yahoo.com>
Cc:        questions@freebsd.org
Subject:   Re: DNS
Message-ID:  <Pine.LNX.4.21.0101210009440.1402-100000@jazz.hq.newdream.net>
In-Reply-To: <20010121073712.13644.qmail@web803.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
you can't have an MX record pointing to a CNAME
you should probably use as few CNAMES as possible.

the reason you're getting the second error is simply due to the first
error - it has nothing to do with the serial number (as long as you're
incrementing the serial number each time.

i'd do it like this:
$TTL 86400
@       IN      SOA     partha.master.com. root.master.com. (
			 2001011800 ; serial
                         14400 ; refresh
                         3600 ; retry
                         2419200 ; expire
                         86400) ; minimum
	IN	A	192.168.0.1
	IN	NS	partha.master.com.
	IN	NS	try.to.get.a.secondary.nameserver.
	IN	MX	 0 mail.master.com.
mail	IN	A	192.168.0.1
partha	IN	A	192.168.0.1
ftp	IN	A	192.168.0.1
pop	IN	A	192.168.0.1
www	IN	A	192.168.0.1

etc., etc.
-will


On Sat, 20 Jan 2001, parthasarathi biswas wrote:

> Hello,
> I have few queries regarding My DNS Server:
> 1.There is a strange problem in my CNAME records.It is
> not taking the last record,how many or whatsoever
> records you have.SO I had to increase my CNAME records
> to 6 eg:www,ftp,smtp,pop,mail and test.test Iam
> keeping coz the system is taking all the CNAME records
> except the last one.Why is this so??
> 
> 2.My /var/log/messages shows 2 errors:
> a)test.master.com:CNAME and OTHER DATA errors
> b)master zone "master.com" (IN) rejected due to errors
> (serial 2001012113)
> 
> what is the problem with the serial number??is the
> syntax wrong.
> Iam pasting the copy of my db.master.com file.Pls
> check and advise
> ************************************************
> 
>  ;Configuration file for the master zone "master.com"
>  ;SOA
>  master.com.		IN	SOA	partha.master.com.
>  root.master.com. (
>  					2001012113; serial(yyyymmddno)
>  					3600      ; refresh(1hours)
>  					900       ; retry(15minutes)
>  					8640000   ; expire(100days)
>  					86400 )   ; minimum(1day)
>  ;Nameserver
>  			IN	NS	partha.master.com.
>  ;A Records
>  partha			IN	A	192.168.0.1
>  ;Nicknames
>  www			IN	CNAME	partha
>  ftp			IN	CNAME	partha
>  pop			IN	CNAME	partha
>  smtp			IN	CNAME	partha
>  mail			IN	CNAME	partha
>  test			IN	CNAME	partha
>  ;Mail Records
>  			IN	MX	10  mail.master.com.
>  ;Hardware/Software Records
>  partha			IN	HINFO	"Intel PIII/500MHz" "FreeBSD
>  4.1-RELEASE"
> ********************************
> Brgds/Partha 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - Buy the things you want at great prices. 
> http://auctions.yahoo.com/
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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