On Friday 22 Mar 2002 7:04 pm, Ciaran wrote:
> I will soon be co-locating a machine in Dublin and have it pretty well
> nicely set up so far. However, I have one question that I haven't been
> able to find a satisfactory answer to: can I set my machine up so that it
> can be seen by multiple names within my domain: i.e. if I want to collect
> my mail I go to mail.nologic.org, for mailing lists it's
> lists.nologic.org, etc?
Yes, the simplest approach is to set up the primary hostname
with an A record and corresponding PTR record. Then create
CNAME records for each of the ancilliary names you wish to
establish. Thereafter, if you have any subsequent IP reassignments
you just need to update the A & PTR records, and your CNAMEs
will follow accordingly. I wouldn't normally consider IP reassignments,
but one of my upstream providers dumped this very issue on my
lap this week, and gave me cause to be grateful for not having
used more A records than necessary... It happens.
Give some thought to the hostname that you create the A record
for however - an MX record cannot point to a CNAME, nor can
an NS. But that doesn't mean you can't use a 'mail' CNAME for
your own connection purposes - just not as an MX in your zone file.
Happy fiddling - remember to increment the serial... :)
ewan at smairlines.com
Santa Monica Airlines, Inc.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!