sendmail host name lookup failure
在日誌中:
Mar 25 15:29:02 mail sendmail: n2P7SxZw027392: to=<test@***.com>, ctladdr=<root@mail.***.com.cn> (0/0), delay=00:00:03, xdelay=00:00:03, mailer=esmtp, pri=120340, relay=***.com , dsn=4.0.0, stat=Deferred: Name server: ***.com: host name lookup failure
發往其他的域名的郵箱都能發出去,只有這個***.com的域名一直提示 host name lookup failure。
使用nslookup ***.com
ping ***.com
dig smtp.***.com
# dig smtp.***.com
; <<>> DiG 9.3.1 <<>> smtp.***.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53426
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;smtp.***.com. IN A
;; ANSWER SECTION:
smtp.***.com. 1097 IN A X.X.X.X
;; Query time: 4 msec
;; SERVER: 202.96.209.133#53(202.96.209.133)
;; WHEN: Wed Mar 25 15:35:07 2009
;; MSG SIZE rcvd: 51
從得到的信息看,好像都是正常的。不知道有沒有人遇到這樣的情況,又是如何處理的。
《解決方案》
Check dns
《解決方案》
郵件伺服器所在的域名,是可以解析出來的
《解決方案》
DNS里正確的話 再看/ETC/HOSTS和/ETC/SYSCONFIG/NETWORKL里你有沒有設定郵件伺服器的name和IP