问题原文
原帖链接 · Lucas · CC BY-SA 3.0
Somebody has 2 e-mail addresses: [email omitted] and [email omitted] . The DNS records for these domains look like this:
domainname.com.br
$ dig any domainname.com.br
;; ANSWER SECTION:
domainname.com.br. 86179 IN SOA ns1.domainname.com.br. suporte.domainname.com.br. 2010081200 20000 4000 1409600 86400
domainname.com.br. 86179 IN MX 10 domainname.com.br.
domainname.com.br. 86179 IN A 177.39.XXX.YY
domainname.com.br. 85342 IN NS ns1.domainname.com.br.
;; AUTHORITY SECTION:
domainname.com.br. 85342 IN NS ns1.domainname.com.br.
;; ADDITIONAL SECTION:
domainname.com.br. 86179 IN A 177.39.XXX.YY
ns1.domainname.com.br. 85342 IN A 177.39.XXX.YY
domainname.com
$ dig any domainname.com
;; ANSWER SECTION:
domainname.com. 37036 IN SOA ns1.domainname.com.br. mattana.domainname.com.br. 1229685618 10800 3600 604800 38400
domainname.com. 37036 IN A 177.39.XXX.YY
domainname.com. 37036 IN NS ns1.domainname.com.br.
;; AUTHORITY SECTION:
domainname.com. 37036 IN NS ns1.domainname.com.br.
;; ADDITIONAL SECTION:
ns1.domainname.com.br. 85036 IN A 177.39.XXX.YY
The domainname.com doesn't have a MX record. However, when I send an e-mail to [email omitted], it gets delivered, and the receiver reply using the [email omitted] address. The e-mail sent to [email omitted] is probably being redirected to [email omitted]. How is this possible, given that domainname.com doesn't have a MX record?
已采纳解答
原帖链接 · MDMarra · CC BY-SA 4.0
According to the Section 5.1 of RFC 5321:
If an empty list of MXs is returned, the address is treated as if it was associated with an implicit MX RR, with a preference of 0, pointing to that host.
That is if no MX record is present mail servers should fall back to the A record for the domain. This is probably what's happening.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
