[Gllug] DNS question

Alain Williams addw at phcomp.co.uk
Fri Nov 5 10:12:24 UTC 2004


On Fri, Nov 05, 2004 at 09:41:43AM +0000, Martin A. Brooks wrote:
> On Fri, 2004-11-05 at 08:52 +0000, Alain Williams wrote:
> > I wanted to give a box several names, so I used CNAMEs:
> > 
> > foo		IN	CNAME	bar
> > 		IN	MX 10	foo
> > 
> > Accessing the machine (eg ssh), no problems. But when I asked DNS for it's MX
> > record all that I ever got back was:
> > 
> > 	foo.phcomp.co.uk is an alias for bar.phcomp.co.uk.
> 
> Which is entirely correct.
> 
> 
> > foo		IN	CNAME	1.2.3.4
> > 		IN	MX 10	foo
> 
> A CNAME can't be an IP address.  It'd be helpful if you used the actual
> hostnames involved, that way I could do some external tests to see
> what's going on directly.

<blush>

That is what comes of typeing rather than cutting & pasteing. The line should have read
foo		IN	A	1.2.3.4
		IN	MX 10	foo
</blush>

The real names are:

test		IN	A	80.68.91.63
		IN	MX 10	test

Because of DNS timeouts/propagation you may need to use the master name server: mint.phcomp.co.uk
What you seem to suggest is that a CNAME is an alias in all ways and not just for IP address,
so I can't have a separate MX record.

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