我不確定我的配置哪裡出了問題,但我Reverse DNS does not contain the hostname
的網域出現錯誤sparkdojo.com
,我讓託管公司設定了 PTR 記錄,host2.sparkdojo.com
並且我使用所有測試進行了這些測試dig
,host
似乎返回了正確的資訊。我已經等了 24 小時,因為我在某處讀到結果可能被緩存或需要傳播,但我仍然收到錯誤。我希望有更多知識的人能夠確定問題所在。
更新:
dig -x 162.254.149.186
; <<>> DiG 9.8.3-P1 <<>> -x 162.254.149.186
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21705
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;186.149.254.162.in-addr.arpa. IN PTR
;; ANSWER SECTION:
186.149.254.162.in-addr.arpa. 43200 IN PTR host2.sparkdojo.com.
;; AUTHORITY SECTION:
149.254.162.in-addr.arpa. 34369 IN NS rdns1.hivelocity.net.
149.254.162.in-addr.arpa. 34369 IN NS rdns2.hivelocity.net.
;; ADDITIONAL SECTION:
rdns1.hivelocity.net. 74146 IN A 199.193.113.131
rdns2.hivelocity.net. 74146 IN A 199.193.113.132
;; Query time: 79 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Sat May 16 14:33:04 2015
;; MSG SIZE rcvd: 165
主機指令
host 162.254.149.186
186.149.254.162.in-addr.arpa domain name pointer host2.sparkdojo.com.
MXToolBox 腳本
Connecting to 162.254.149.186
220-host2.sparkdojo.com ESMTP Exim 4.85 #2 Sat, 16 May 2015 14:18:48 -0500
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail. [780 ms]
EHLO MXTB-PWS3.mxtoolbox.com
250-host2.sparkdojo.com Hello mxtb-pws3.mxtoolbox.com [64.20.227.133]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP [655 ms]
MAIL FROM:<[email protected]>
250 OK [655 ms]
RCPT TO:<[email protected]>
550-Please turn on SMTP Authentication in your mail client.
550-mxtb-pws3.mxtoolbox.com [64.20.227.133]:58085 is not permitted to relay
550 through this server without authentication. [889 ms]
MXTB-PWS3v2 3884ms
當我更改伺服器的主機名稱並更新主機 IP 上的 PTR 記錄時,錯誤開始出現。它之前顯示為 Hivelocity 的預設 PTR 和主機名,因此我想確保它反映的是我的網域而不是他們的網域。除了我上面列出的內容之外,沒有其他更改。
答案1
您有一個將 162.254.149.186 對應到 host2.sparkdojo.com 的 PTR 記錄,這很好,但是 host2.sparkdojo.com 沒有 A 記錄,因此其他方式的查找不起作用。你需要他們兩個才能工作。