[linux-l] MX record host not found

Ralph Angenendt ralph at strg-alt-entf.org
So Mär 16 14:55:20 CET 2008


Volker Grabsch wrote:
> Das ist eine Eigenart des Nameservers "Bind".

Äh, nein. 

> Wenn man in der Konfiguration von "ogai.name" eine Domain ohne
> Punkt am Ende angibt, wird sie als relative Domain verstanden.
> Das heißt, ein Eintrag "www" wird von Bind automatisch als
> "www.ogai.name" verstanden.
> 
> Erst, wenn die Domain auf "." endet, wird sie als absolute Domain
> verstanden. Das gilt für CNAME-, MX- und alle möglichen anderen
> Einträge.

Richtig.

> Um es gleich vorweg zu nehmen: Ja, das ist bescheuert!

Nein. 

> Das ist unglaublich fehleranfällig. Ich erlebe es ständig, dass
> für eine Domain "domain.tld" als MX-Eintrag "mail.server.tld"
> gewählt wird, der Punkt am Ende vergessen wird, und daher der
> MX-Eintrag verunstaltet wird zu: "mail.server.tld.domain.tld"

Tja. Man sollte schon wissen, was man tut, wenn man sich einer Aufgabe
annimmt. 

> Aber inzwischen ist es zu spät. Dieser Designfehler lässt sich
> nicht mehr ausrotten. :-(

Richtig. Ich darf dich auf RFC1034 verweisen, dort Kapitel 3, Abschnitt
3.1:

| The domain name space is a tree structure.  Each node and leaf on the
| tree corresponds to a resource set (which may be empty).  The domain
| system makes no distinctions between the uses of the interior nodes and
| leaves, and this memo uses the term "node" to refer to both.
| 
| Each node has a label, which is zero to 63 octets in length.  Brother
| nodes may not have the same label, although the same label can be used
| for nodes which are not brothers.  One label is reserved, and that is
| the null (i.e., zero length) label used for the root.

Jetzt könnte man sich fragen, wie man ein zero length label für den
Endnutzer darstellt (also nicht, wie man es speichern soll(te), das
steht aber in 1034 auch drin):

| When a user needs to type a domain name, the length of each label is
| omitted and the labels are separated by dots (".").  Since a complete
| domain name ends with the root label, this leads to a printed form which
| ends in a dot.  We use this property to distinguish between:
| 
|    - a character string which represents a complete domain name
|      (often called "absolute").  For example, "poneria.ISI.EDU."
| 
|    - a character string that represents the starting labels of a
|      domain name which is incomplete, and should be completed by
|      local software using knowledge of the local domain (often
|      called "relative").  For example, "poneria" used in the
|      ISI.EDU domain.

Bind kann man das nur insofern anlasten, als dass bind wahrscheinlich
die Referenzimplementation ist. "Vergurkt" (deiner Meinung nach, meiner
Meinung nach definitiv nicht) wurde das in den grundlegenden RFCs.

Wie würdest du das root label darstellen wollen?

Ralph
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : nicht verfügbar
Dateityp    : application/pgp-signature
Dateigröße  : 189 bytes
Beschreibung: nicht verfügbar
URL         : <https://mlists.in-berlin.de/pipermail/linux-l-mlists.in-berlin.de/attachments/20080316/3563f3f0/attachment.sig>


Mehr Informationen über die Mailingliste linux-l