DNS is driving me crazy

DNS is driving me crazy

Gabor Szabo szabgab at gmail.com
Wed Mar 11 11:07:18 IST 2009


2009/3/10 Herouth Maoz <herouth at spamcop.net>:
> On 10/03/2009, at 21:33, Oren Held wrote:
>
> On Tuesday, 10 March 2009 17:50:18 Herouth Maoz wrote:
>
> Quoting Gabor Szabo <szabgab at gmail.com>:
>
> www 3600 IN CNAME s5.hostlocal.com
>
> szabgab.com 3600 IN CNAME s5.hostlocal.com
>
> @ 3600 IN MX 10 s6.hostlocal.com.
>
>
> Is that how it should be? With the trailing . on the MS record ?
>
> dig   @ns44.domaincontrol.com szabgab.com MX
>
> does not seem to show me any MX record
>
> Well, I'm not exactly an expert, but your MX record certainly isn't
>
> propagated - I think the above definition must be wrong. Why does it
>
> say "@" where it's supposed to say mail.szabgab.com?
>
> Wrong, instead of the "@" should be szabgab.com and not mail.szabgab.com -
> because he wants user at szabgab.com mail addresses.
>
> Ah, right, I guess. The following confused me:
>
> I'd like to have www.szabgab.com and szabgab.com to resolve to
> s5.hostlocal.com while
> mail.szabgab.com to resolve to  s6.hostlocal.com and that all mail sent to
> @szabgab.com should be processed by   s6.hostlocal.com
>
> So actually there is no need to define mail.szabgab.com at all - unless he
> wants to make it a cname for some protocol other than SMTP.
> Herouth

As it turns out there

I had szabgab.com configured as CNAME so no matter what did I do with the MX
record it was not taken into account.

I changed now and I have set it up as an A record pointing to the s5 machine

@	3600	IN	A	207.158.15.132

mail is a CNAME pointing to s6, though I only use it for http access for
my mailing lists: http://mail.szabgab.com/

mail	3600	IN	CNAME	s6.hostlocal.com

And the MX record looks like this:

szabgab.com.	3600	IN	MX	0	s6.hostlocal.com.


This works now but it means I'll have more work every time I need to move server
and the DNS interface of Godaddy is so slow!


Anyway, thanks for the suggestions, it pointed me to the right direction.

Gabor



More information about the Linux-il mailing list