奇怪的dns解析問題
區域網內部用2003建了個DNS伺服器,只解析自己的兩個伺服器的內部私有IP,其他的一律交給電信的dns處理,可是發現這個dns伺服器似乎有問題,有時不能正常解析,甚至有nslookup可以解析,ping的時候又成了電信解析出來的公網IP,用瀏覽器打開該域名也是用的電信dns解析出來的。為什麼?
做dns伺服器是不是用unix-like的系統比windows系統好?
C:\Documents and Settings\lsg>ipconfig/all
Windows IP Configuration
Host Name . . . . . . . . . . . . : HP-LSG
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter 本地連接:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Broadcom NetLink (TM) Gigabit Ethernet
Physical Address. . . . . . . . . : 00-1A-4D-1E-XXXX
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.16.91
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.16.1
DNS Servers . . . . . . . . . . . : 192.168.100.100
61.177.7.1
C:\Documents and Settings\lsg>nslookup
Default Server: dns.ourdomain-a.cn
Address: 192.168.100.100
> sns.ourdomain-b.cn
Server: dns.ourdomain-a.cn
Address: 192.168.100.100
Name: sns.ourdomain-b.cn
Address: 192.168.100.2
> exit
C:\Documents and Settings\lsg>nslookup sns.ourdomain-b.cn
Server: dns.ourdomain-a.cn
Address: 192.168.100.100
Name: sns.ourdomain-b.cn
Address: 192.168.100.2
C:\Documents and Settings\lsg>ping sns.ourdomain-b.cn
Pinging sns.ictedu.net.cn with 32 bytes of data:
Reply from 192.168.200.2: Destination host unreachable.
Reply from 192.168.200.2: Destination host unreachable.
Reply from 192.168.200.2: Destination host unreachable.
Reply from 192.168.200.2: Destination host unreachable.
Ping statistics for 58.211.xxxxxx:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\Documents and Settings\lsg>
《解決方案》
那個系統配好了都能很好的工作。互聯網上的絕大部分的共用DNS都是UNIX系統,不為別的,為的是日常維護UNIX要少很多而且用商業廠商的專業硬體配合整個系統的穩定性水平很高。
《解決方案》
哦,那我的問題可能是什麼原因?而且不同的客戶端電腦反應也不一樣,有的正常,有的不行。這一台是一個www的子域名可以,另一個sns的子域名不行,見鬼了
《解決方案》
回復 #3 arbor 的帖子
我也經常遇到,好象和windows dns客戶端工作機制有關。查過很多網站,好象windows並不是優先選第一個DNS,有時也會出先選擇第二個dns(外網DNS)情況,如果有外網域名的話會返回一個外網IP,如果沒有就提示無此域名。