
vultr VM에서 실행되는 SMTP 서버가 있습니다. 내 메일 도메인 이름을 가리키도록 rDNS를 설정했습니다 mail.idimitrov.dev
. DNS 설정은 ipv4 및 ipv6의 해당 시스템을 가리키며 mail.idimitrov.dev
의 github 페이지를 가리킵니다 idimitrov.dev
.
Gmail로만 이메일을 보내면 PTR 기록이 없다고 나옵니다.
| host gmail-smtp-in.l.google.com [2a00:1450:4013:c07::1b]
| SMTP error from remote mail server after pipelined end of data:
| 550-5.7.25 [2001:19f0:6c01:2f25:399c:6832:fa7c:c123] The IP address sending this
| 550-5.7.25 message does not have a PTR record setup, or the corresponding
| 550-5.7.25 forward DNS entry does not point to the sending IP. As a policy,
| 550-5.7.25 Gmail does not accept messages from IPs with missing PTR records.
| 550-5.7.25 Please visit
| 550-5.7.25 https://support.google.com/mail/answer/81126#ip-practices for more
| 550 5.7.25 information. fl6-20020a1709072a8600b008b466a03af6si17950149ejc.3 - gsmtp
다른 메일 제공업체의 경우에는 그렇지 않습니다.
rDNS 설정을 가리키도록 변경 idimitrov.dev
하고 다시 테스트했습니다. 같은 결과.
명령 의 출력은 다음과 같습니다 dig
.
~ ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── at 08:55:53
❯ dig -x 209.250.239.243
; <<>> DiG 9.18.12 <<>> -x 209.250.239.243
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64879
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: 96ded523f01fcbcb0100000063f70e07b977d3b949d3c8d8 (good)
;; QUESTION SECTION:
;243.239.250.209.in-addr.arpa. IN PTR
;; ANSWER SECTION:
243.239.250.209.in-addr.arpa. 3321 IN PTR idimitrov.dev.
;; Query time: 0 msec
;; SERVER: 192.168.0.1#53(192.168.0.1) (UDP)
;; WHEN: Thu Feb 23 08:56:07 EET 2023
;; MSG SIZE rcvd: 112
~ ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── at 08:56:07
❯ dig -x 2001:19f0:6c01:2f25:5400:04ff:fe48:12ba
; <<>> DiG 9.18.12 <<>> -x 2001:19f0:6c01:2f25:5400:04ff:fe48:12ba
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32491
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: 82062aa836133bb70100000063f70e0a54a88c9478150aaa (good)
;; QUESTION SECTION:
;a.b.2.1.8.4.e.f.f.f.4.0.0.0.4.5.5.2.f.2.1.0.c.6.0.f.9.1.1.0.0.2.ip6.arpa. IN PTR
;; ANSWER SECTION:
a.b.2.1.8.4.e.f.f.f.4.0.0.0.4.5.5.2.f.2.1.0.c.6.0.f.9.1.1.0.0.2.ip6.arpa. 3445 IN PTR idimitrov.dev.
;; Query time: 0 msec
;; SERVER: 192.168.0.1#53(192.168.0.1) (UDP)
;; WHEN: Thu Feb 23 08:56:10 EET 2023
;; MSG SIZE rcvd: 156
ipv4와 ipv6 모두에 대해 rDNS가 설정되어 있음을 보여줍니다.
Google은 왜 다르게 말합니까?