Use of CNAMES Question

David Botham DBotham at OptimusSolutions.com
Wed May 26 22:18:24 UTC 2004


bind-users-bounce at isc.org wrote on 05/26/2004 12:11:47 PM:
> I have a server that acts as a mail server, an http sever, an ftp server
> and a news server.  I have set up my records like this:
> 
> mail   IN   A   192.168.1.25
> ftp   IN   CNAME   mail
> www   IN   CNAME    mail
> news   IN   CNAME   mail

Yes, but, what if someone types only the domain name into their browser? 
EX:  example.com

You might want to do this:

@       IN      MX mail.example.com.

@       IN      A       192.168.1.25
mail   IN   A   192.168.1.25
ftp   IN   CNAME   @
www   IN   CNAME    @
news   IN   CNAME   @


It is best for "mail" to have its own A RR to avoid having the RDATA of an 
MX RR reference a CNAME RR.


hth,

Dave...

> 
> Is this orthodox?
> 
> Thanks, 
> 
> Tom Naves
> 
> 




More information about the bind-users mailing list