2013-02-13 145 views
1

我最近開始通過GoDaddy的運行VPS和我繼續從的cPanel收到以下自動生成的電子郵件:在電子郵件主機名不能被解析爲IP地址

Your hostname (server.mydomain.com) could not be resolved to an IP 
address. This means that /etc/hosts is not set up correctly, and/or 
there is no dns entry for server.mydomain.com. Please be sure that 
the contents of /etc/hosts are configured correctly, and also that 
there is a correct 'A' entry for the domain in the zone file. 

Some or all of these problems can be caused by /etc/resolv.conf 
being setup incorrectly. Please check that file if you believe 
everything else is correct. 

You may be able to automatically correct this problem by using the 
'Add an A entry for your hostname' option under 'Dns Functions' in 
your Web Host Manager. 

我按照建議,並增加了一個條目,但仍然收到錯誤。

當我嘗試添加DNS域到server.mydomain.com,南國告訴我Sorry, a DNS entry for server.mydomain.com already exists.

然而,在小南國上市我來查看或我的主機沒有DNS區域編輯。

我能夠通過server.mydomain.com連接到服務器,所以在我看來,主機名實際上是正確解析。此外,IP和別名在/etc/hosts中正確列出。

爲什麼我收到此電子郵件,我該如何解決此問題?

謝謝。

回答

2

通常,此錯誤電子郵件是由專用名稱服務器未正確設置而生成的。也有機會丟失,損壞或格式不正確的DNS記錄。

如果您使用的專用名稱服務器,那麼請檢查以下內容:

  1. 你已經註冊私人名稱服務器與您的註冊商有正確的IP地址?
  2. 是否有每個專用名稱服務器的A記錄?
  3. DNS域中使用它們的域名中是否列出了正確的名稱服務器?