Re: DNS goofups galore...

From: Henning P. Schmiedehausen (
Date: Tue Feb 13 2001 - 14:52:29 EST (James Antill) writes:

>"Henning P. Schmiedehausen" <> writes:

>> % telnet smtp
>> 220 ESMTP ready
>> ^^^^^^^^^^^^
>> This kills loop detection. Yes, it is done this way =%-) and it breaks
>> if done wrong.

> This is humour, yeh ?


> I would be supprised if even sendmail assumed braindamage like the
> For instance something that is pretty common is...

> IN A
> IN MX 10
> IN MX 20

>; This is really
> IN A

No. This is a misconfiguration. Yes, RFC821 is a bit rusty but as far
as I know, nothing has superseded it yet. And Section 3.7 states

      Whenever domain names are used in SMTP only the official names are
      used, the use of nicknames or aliases is not allowed.

And the 220 Message is defined as

220 <domain>

On sendmail, this is enforced by the "k" flag in the mailer definition.

>...another is to have "farms" of mail servers (the A record for the MX
>has multiple entries).
> If it "broke" as you said, then a lot of mail wouldn't be being routed.

You're correct. A lot of mail isn't routed or just routed because the
mailers believe in the "be liberal in what you accept" policy. Or
plainly non-RFC-compliant.

There is a concept behind CNAMEs just like behind IP Fragmentation and
the NT domains. Noone stated that it is a _SANE_ concept but it is now
here and we have to live with it. CNAMES ARE NOT ALIASES.

A CNAME is a reference. It states "the canonical name of "xxxx" is". You write it as


SMTP requests that you use the canonical name in the 220 greeting,
according to RFC 821. Everything else is misconfiguration.


Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH

Am Schwabachgrund 22 Fon.: 09131 / 50654-0 D-91054 Buckenhof Fax.: 09131 / 50654-20 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Feb 15 2001 - 21:00:22 EST