Multiple aliases to one IP address

Barry Margolin barmar at genuity.net
Wed Jan 24 18:48:48 UTC 2001


In article <94n61b$oe at pub3.rc.vix.com>,  <freakshow56 at my-deja.com> wrote:
>I want to add multiple alias ID's (domain names) to a single server.
>The server is a internal web server that does not need to be hit from
>the Internet. What kind of records do I need to create within DNS to do
>this please?  I am trying to undertand the difference between CNAME and
>A records.

A CNAME record creates an alias, which means that all the records for that
name are automatically retrieved from another name.  An A record just maps
a name to an address.  In most cases, CNAME records are the way to create
aliases like want.  However, there are some restrictions on CNAME records,
and in those cases you would have to use multiple A records that have the
same address.  The restriction that might affect you is that a CNAME can't
have records of its own, so if you're trying to use the bare domain name as
an alias, it must be an A record (because the domain name by itself will
have SOA and NS records).

-- 
Barry Margolin, barmar at genuity.net
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.



More information about the bind-users mailing list