nowwhat
21/01/2015, 14h13

1 requête pour le MX
qui va donner un domaine ou sous domaine.
1 requête pour le A (de ce domaine ou sous domaine).
33% bonus en temps et t'es conforme du coup.
Don't use CNAMEs in combination with RRs which point to other names
like MX, CNAME, PTR and NS. (PTR is an exception if you want to
implement classless in-addr delegation.) For example, this is
strongly discouraged:
Code:podunk.xx. IN MX mailhost mailhost IN CNAME mary mary IN A 1.2.3.4
10.3. MX and NS records
The domain name used as the value of a NS resource record, or part of
the value of a MX resource record must not be an alias. Not only is
the specification clear on this point, but using an alias in either
of these positions neither works as well as might be hoped, nor well
fulfills the ambition that may have led to this approach. This
domain name must have as its value one or more address records.
Currently those will be A records, however in the future other record
types giving addressing information may be acceptable. It can also
have other RRs, but never a CNAME RR.
Les enregistrements Mail Exchange (MX) dirigent les e-mails d'un domaine vers les serveurs hébergeant les comptes utilisateur du domaine.
Plusieurs enregistrements MX peuvent être définis pour un même domaine, chacun avec une priorité différente. Si un e-mail ne peut être distribué à l'aide de l'enregistrement associé à la priorité la plus élevée, l'enregistrement de priorité 2 est utilisé, etc.
netstat -naptul | grep '25'
dig @ton-dns-secondaire-ici ton-domaine.tld MX
telnet localhost 25 ehlo localhost
250-domain.com 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN