[Gllug] re: DNS query

Alain Williams addw at phcomp.co.uk
Fri Nov 5 14:31:33 UTC 2004


On Fri, Nov 05, 2004 at 02:23:20PM +0000, t.clarke wrote:
> J ake wrote:
> > Surely a CNAME is a CNAME and an alias is an alias. A CNAME is not an alias.
> 
> 
> According to my O'Reilly DNS book, a CNAME record maps an alias to its canonical name,
> whereas a simple alias is an alternative name for a given IP address.
> 
> In the O'Reilly book  the example given is:
> 
> wormhole.movie.edu.          IN  A               192.249.249.1
> wormhole.movie.edu.          IN  A               192.253.253.1
> 
> ;aliases
> wh.movie.edu.                IN CNAME            wormhole.movie.edu.
> wh249.movie.edu.             IN A                192.249.249.1
> wh253.movie.edu.             IN A                192.253.253.1
> 
> Thus, a lookup of wh.movie.edu will return both IP addresses, whereas a lookup of wh249
> would only return the one address

Yes, it looks as if my philosophy of having the address once (and so less likely to me getting
it wrong) was probably too idealistic. I have now moved to multiple 'IN A' records and the 'MX'
records show up as I wanted.

Thanks to all who replied.

-- 
Alain Williams

#include <std_disclaimer.h>
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list