Centos

我設置了 DNS,但我沒有從我的域獲得響應,並且 IntoDNS 有錯誤,為什麼?

  • March 6, 2021

我在我的 VPS 中使用 BIND 9 設置 DNS,一切正常,但在 IntoDNS 中存在一些錯誤 30 分鐘前我還添加了第二個名稱伺服器,但我收到錯誤這裡是輸出。

   Reverse MX A records (PTR)  ERROR: No reverse DNS (PTR) entries. The problem MX records are:
212.178.5.194.in-addr.arpa -> no reverse (PTR) detected
You should contact your ISP and ask him to add a PTR record for your ips
Stealth NS records sent Stealth NS records were sent:
ns2.mydomain.ir
Missing nameservers reported by parent  FAIL: The following nameservers are listed at your nameservers as nameservers for your domain, but are not listed at the parent nameservers (see RFC2181 5.4.1). You need to make sure that these nameservers are working.If they are not working ok, you may have problems!
ns2.mydomain.ir
   Multiple Nameservers    ERROR: Looks like you have less than 2 nameservers. According to RFC2182 section 5 you must have at least 3 nameservers, and no more than 7. Having 2 nameservers is also ok by me.

編輯:如果需要真正的域,mydomain.ir 不是我的真正域告訴我。

您引用的消息報告了您的域的兩個明顯問題,均已通過直接查詢確認:

  1. mail.buymeacookie.ir列為您的域的傳入郵件伺服器 (MX)。普遍共識要求郵件伺服器具有匹配的正向和反向 DNS 條目。mail.buymeacookie.ir解析為194.5.178.212194.5.178.212解析mail.buymeacookie.ir. 事實上194.5.178.212根本解決不了。它沒有PTR記錄。
  2. 您聲稱您添加了第二個名稱伺服器。但是,現在您的域僅列出一個名稱伺服器 (NS) 記錄,ns1.buymeacookie.ir即使直接在ns1.buymeacookie.ir. 您可能忘記增加序列號或重新載入區域。

引用自:https://serverfault.com/questions/1056166