我的主機沒有 PTR 記錄

我的主機沒有 PTR 記錄

當我檢查我的主機時我得到這個

host myIP
xx.xxx.xx.103.in-addr.arpa has no PTR record

所以我將其添加到我的 /var/named/domainname.com.db

myHostname. IN A  myIP
xx.xxx.xx.103.in-addr.arpa. IN PTR myHostname.

我重新啟動 BIND DNS 伺服器

但是當我檢查我的網域時http://www.intodns.com

Reverse MX A records (PTR)  ERROR: No reverse DNS (PTR) entries. The problem MX records are:
xx.xxx.xx.103.in-addr.arpa -> no reverse (PTR) detected
You should contact your ISP and ask him to add a PTR record for your ips 

所以我也嘗試這樣做

echo -e "update add xx.xxx.xx.103.in-addr.arpa 3600 ptr myHostname.\nsend" | nsupdate
; Communication with server failed: timed out

那麼解決這個問題的正確方法是什麼

答案1

需要將 RDNS 條目新增至您的 IP 區塊的權威 RDNS 區域。請注意,RDNS 區域不是您網域的 DNS 區域。

擁有您的 IP 區塊的人將能夠為您執行此操作,即為您分配 IP 位址的 ISP。

或者,如果您所在地區的相關機構(例如 ARIN / APNIC 等)為您指派了自己的 IP 區塊,請為您指派的子網路建立 RDNS 區域並新增 RDNS 條目。您還需要確保您的 IP 區塊的 DNS 伺服器委託指向您的 DNS 伺服器。

相關內容