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
中正確列出。
爲什麼我收到此電子郵件,我該如何解決此問題?
謝謝。