Can I use the zone name as CNAME ?

Joseph S D Yao jsdy at cospo.osis.gov
Tue Feb 13 18:40:05 UTC 2001


On Tue, Feb 13, 2001 at 09:52:17AM -0800, Trinh wrote:
> I would like use one of my zone name as a CNAME to the
> other name.  Is it possible?  I kept getting an error
> message as the following:
> 
> CNAME and OTHER DATA error
> 
> Please advice :)

Absolutely not, as you have found.  What you can do is have an A record
for your zone name, and CNAME the other names to it.  E.g.,


(zone.trinh.example):
;
; Domain "trinh.example."
;
$TTL	1d

@	SOA	ns1.trinh.example. nbtrinh2001.yahoo.com. (
		... )
	NS	ns1.trinh.example.
	NS	ns2.trinh.example.
	A	10.20.30.40
ns1	A	10.20.30.1
ns2	A	10.20.30.2
www	CNAME	trinh.example.
shell	CNAME	trinh.example.
ftp	CNAME	trinh.example.
...

-- 
Joe Yao				jsdy at cospo.osis.gov - Joseph S. D. Yao
COSPO/OSIS Computer Support					EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.


More information about the bind-users mailing list