Can I use the zone name as CNAME ?

stuart nichols stu at tomcat.stac.state.tx.us
Tue Feb 13 19:17:42 UTC 2001




On Tue, 13 Feb 2001, Joseph S D Yao wrote:

> 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.,

Well, not ABSOLUTELY not.  If he can get the level above him
to enter a CNAME for his name, then it will work.  (His question
doesn't exclude this possibility.)

If his new domain name were  fred.trihn.example  and he wanted to
CNAME that to  bob.example  then he would get the person who owns
trihn.example to make a CNAME entry in the trihn.example zone,
pointing fred.trihn.example to bob.example.  This type of CNAME
will work just fine.  He wouldn't be hosting fred.trihn.example
himself (no entries at all for fred.trihn.example on his own DNS
server), but he doesn't need to do that, anyway, since he wants
all traffic for fred.trihn.example to be redirected to bob.example.

stu

--

stu
stu at stac.state.tx.us

Office: (512) 463-7601
FAX:    (512) 475-4759

stuart nichols
State Technology Assessment Center
Texas Department of Information Resources
300 West 15th Street
Austin  TX  78744




More information about the bind-users mailing list