難道sohu的主web伺服器都放在北京網通?
C:\Documents and Settings\Administrator>nslookup www.sohu.com
*** Can't find server name for address 218.108.245.157: Non-existent domain
Server: ns3.hzcnc.com
Address: 218.108.248.219
Non-authoritative answer:
Name: pagegrp7.a.sohu.com
Addresses: 61.135.150.98, 61.135.150.101, 61.135.150.104, 61.135.150.108
61.135.150.113, 61.135.150.126, 61.135.150.145, 61.135.150.93, 61.135.
150.97
Aliases: www.sohu.com, d7.a.sohu.com
這樣風險也太大了吧。還是我的問題?
[ 本帖最後由 lihao198088 於 2007-7-10 11:48 編輯 ]
《解決方案》
從哪兒看出來,伺服器都是放在北京的?
《解決方案》
nslookup 命令查詢一個域名所對應的ip地址。不知道這樣是否精準?
《解決方案》
找個南方的朋友,敲同樣的命令,看看結果是否一樣。
《解決方案》
原帖由 honckly 於 2007-7-10 12:10 發表於 2樓
從哪兒看出來,伺服器都是放在北京的?
whois ip地址,結果如下,明顯事北京網通
# whois 61.135.150.101
%
% Whois data copyright terms http://www.apnic.net/db/dbcopyright.html
inetnum: 61.135.0.0 - 61.135.255.255
netname: CNCGROUP-BJ
descr: CNCGROUP Beijing province network
descr: China Network Communications Group Corporation
descr: No.156,Fu-Xing-Men-Nei Street,
descr: Beijing 100031
country: CN
admin-c: CH455-AP
tech-c: SY21-AP
mnt-by: APNIC-HM
mnt-lower: MAINT-CNCGROUP-BJ
mnt-routes: MAINT-CNCGROUP-RR
status: ALLOCATED PORTABLE
changed:
[email protected] 20031112
changed:
[email protected] 20040927
changed:
[email protected] 20050112
changed:
[email protected] 20060124
source: APNIC
role: CNCGroup Hostmaster
e-mail:
[email protected] address: No.156,Fu-Xing-Men-Nei Street,
address: Beijing,100031,P.R.China
nic-hdl: CH455-AP
phone: +86-10-82993155
fax-no: +86-10-82993102
country: CN
admin-c: CH444-AP
tech-c: CH444-AP
changed:
[email protected] 20041119
mnt-by: MAINT-CNCGROUP
source: APNIC
person: sun ying
address: fu xing men nei da jie 97, Xicheng District
address: Beijing 100800
country: CN
phone: +86-10-66030657
fax-no: +86-10-66078815
e-mail:
[email protected] nic-hdl: SY21-AP
mnt-by: MAINT-CNCGROUP-BJ
changed:
[email protected] 19980824
changed:
[email protected] 20060717
source: APNIC
[ 本帖最後由 maluyao 於 2007-7-11 08:19 編輯 ]
《解決方案》
回復 #5 maluyao 的帖子
多謝斑竹的whois。
不過樓主用的cmd,難道是記住了北京的伺服器IP?
《解決方案》
原帖由 maluyao 於 2007-7-10 12:24 發表於 4樓
找個南方的朋友,敲同樣的命令,看看結果是否一樣。
我就是在南方敲的命令,呵呵
在北方的伺服器上一樣是此結果。
《解決方案》
sohu用的是自建CDN,採用就近原則。
如果某點伺服器down掉,就找原伺服器(北京網通)
《解決方案》
對比一下www.sina.com 在家裡查詢(中電飛華的線路)
這個地址是北京網通
$host -t a www.sina.com.cn
www.sina.com.cn is an alias for jupiter.sina.com.cn.
jupiter.sina.com.cn has address 202.108.33.32
$
用web nslookup 查詢( http://www.zoneedit.com/lookup.html )
結果是 www.sina.com. A 71.5.7.191
這個地址應該是北美。
[ 本帖最後由 maluyao 於 2007-7-10 21:38 編輯 ]
《解決方案》
原帖由 kaka_sun 於 2007-7-10 18:01 發表 http://linux.chinaunix.net/bbs/images/common/back.gif
sohu用的是自建CDN,採用就近原則。
如果某點伺服器down掉,就找原伺服器(北京網通)
的確是這樣,我換了台電信線路的機器就nslookup所有的搜狐上海電信機房的IP了。
但是我的問題是「如果某點伺服器down掉,就找原伺服器(北京網通)」,sohu是怎麼讓用戶訪問到原伺服器的呢?通過DNS重新指向?這豈不是要耽誤很長時間么?