歡迎您光臨本站 註冊首頁

緊急求助!奇怪的unknown host 問題

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

緊急求助!奇怪的unknown host 問題

Linux A3的操作系統,用作Email伺服器,工作一年半一直正常,今天早上起,突然不能發送郵件。
檢查一番之後,發現問題如下:

# ping msn.com
ping: unknown host msn.com
# hostname
GMS
# nslookup msn.com
Server:         202.96.209.5
Address:        202.96.209.5#53

Non-authoritative answer:
*** Can't find msn.com: No answer

reslove.conf 內容
# cat /etc/resolv.conf
nameserver 202.96.209.5
nameserver 202.96.199.133
nameserver 203.95.1.1
# ping 202.96.209.5
PING 202.96.209.5 (202.96.209.5) 56(84) bytes of data.
64 bytes from 202.96.209.5: icmp_seq=0 ttl=244 time=29.2 ms
64 bytes from 202.96.209.5: icmp_seq=1 ttl=244 time=29.3 ms
64 bytes from 202.96.209.5: icmp_seq=2 ttl=244 time=29.7 ms

--- 202.96.209.5 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2022ms
rtt min/avg/max/mdev = 29.202/29.425/29.722/0.294 ms, pipe 2

# cat /etc/nsswitch.conf
#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
#       nisplus or nis+         Use NIS+ (NIS version 3)
#       nis or yp               Use NIS (NIS version 2), also called YP
#       dns                     Use DNS (Domain Name Service)
#       files                   Use the local files
#       db                      Use the local database (.db) files
#       compat                  Use NIS on compat mode
#       hesiod                  Use Hesiod for user lookups
#              Stop searching if not found so far
#

# To use db, put the "db" in front of "files" for entries you want to be
# looked up first in the databases
#
# Example:
#passwd:    db files nisplus nis
#shadow:    db files nisplus nis
#group:     db files nisplus nis

passwd:     files
shadow:     files
group:      files

#hosts:     db files nisplus nis dns
hosts:      files dns

# Example - obey only what nisplus tells us...
#services:   nisplus files
#networks:   nisplus files
#protocols:  nisplus files
#rpc:        nisplus files
#ethers:     nisplus files
#netmasks:   nisplus files     

bootparams: nisplus files

ethers:     files
netmasks:   files
networks:   files
protocols:  files
rpc:        files
services:   files

netgroup:   files

publickey:  nisplus

automount:  files
aliases:    files nisplus

# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               GMS localhost.localdomain localhost
# cat /etc/host.conf
order hosts,bind


請各位大能幫忙看看到底問題出在哪裡了?謝謝

[ 本帖最後由 steelskin 於 2007-6-25 18:41 編輯 ]
《解決方案》

是不是我發錯區了?能否請斑竹幫我轉移到正確的區中。謝啦
《解決方案》

去掉這個:

nameserver 202.96.209.5

202.96.209.5有問題
《解決方案》

真的是這個IP產生的問題。已經解決了。但是,我在windows下,用nslookup, server 202.96.209.5,能正常解析出域名啊。詭異

[火星人 ] 緊急求助!奇怪的unknown host 問題已經有816次圍觀

http://coctec.com/docs/service/show-post-37774.html