通过dig www.google.com.hk可以得到其ip为74.125.128.199。用同样到办法去获得dict.cn(海辞)这个网站的ip却失败了。所得到到ip并不正确,这是为什么呢?难道是在浏览器地址栏里所显示的并不是其真正到域名?
通过dig www.google.com.hk可以得到其ip为74.125.128.199。用同样到办法去获得dict.cn(海辞)这个网站的ip却失败了。所得到到ip并不正确,这是为什么呢?难道是在浏览器地址栏里所显示的并不是其真正到域名?
为你们捉急啊。
[~/Develop/asm] % dig dict.cn ; <<>> DiG 9.9.1-P3 <<>> dict.cn ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11754 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;dict.cn. IN A ;; ANSWER SECTION: dict.cn. 488 IN A 69.13.33.56 ;; Query time: 12 msec ;; SERVER: 209.18.47.61#53(209.18.47.61) ;; WHEN: Sun Oct 28 16:39:53 2012 ;; MSG SIZE rcvd: 52 [~/Develop/asm] % curl -v 69.13.33.56 * About to connect() to 69.13.33.56 port 80 (#0) * Trying 69.13.33.56... * connected * Connected to 69.13.33.56 (69.13.33.56) port 80 (#0) > GET / HTTP/1.1 > User-Agent: curl/7.25.0 (x86_64-suse-linux-gnu) libcurl/7.25.0 OpenSSL/1.0.1c zlib/1.2.7 libidn/1.25 libssh2/1.4.0 > Host: 69.13.33.56 > Accept: */* > < HTTP/1.1 404 Not Found < Server: Dict/34.002 < Date: Sun, 28 Oct 2012 23:39:57 GMT < Content-Type: text/html < Transfer-Encoding: chunked < Connection: keep-alive < Keep-Alive: timeout=60 < Set-Cookie: uvid=UI3CTYTSE8Z+; expires=Thu, 31-Dec-37 23:55:55 GMT; domain=.dict.cn; path=/ < <html> <head><title>404 Not Found</title></head> <body bgcolor="white"> <center><h1>404 Not Found</h1></center> <hr><center>Dict/34.002</center> </body> </html> * Connection #0 to host 69.13.33.56 left intact * Closing connection #0 [~/Develop/asm] % curl -H"Host: dict.cn" http://69.13.33.56 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>在线翻译_在线词典_英语在线翻译_海词词典_中国最专业的网络词典</title> <meta name="keywords" content="在线翻译,在线词典,英语在线翻译,英语词典,英汉词典,翻译,海词词典" /> <meta name="description" content="海词词典为英语学习者提供在线词典、英语在线翻译、权威学习资料,是新时代的学习型网络词典,拥有2000万海量词汇,1亿忠实用户,是老师和学生们的首选专业在线词典品牌。" /> <meta name="author" content="海词词典" /> <link rel="canonical" href="http://dict.cn" /> <link rel="icon" href="/favicon.ico" type="/image/x-icon" /> <link rel="shortcut icon" href="/favicon.ico" type="/image/x-icon" /> <link href="http://cdn.dfile.cn/v/1351151793/i1/css/base.min.css" media="screen" rel="stylesheet" type="text/css" /> <link href="http://cdn.dfile.cn/v/1351151794/i1/css/obase.min.css" media="screen" rel="stylesheet" type="text/css" /> <script src="http://cdn.dfile.cn/i1/js/jquery-1.8.0.min.js" type="text/javascript"></script> <script>var cur_dict = 'dict';var i1_home='http://cdn.dfile.cn';var xuehai_home='http://xuehai.cn';var passport_home='http://passport.dict.cn';</script> </head> <body> <object style="position:absolute;top:-1000%;width:1px;height:1px;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);" id="daudio" type="application/x-shockwave-flash" data="http://cdn.dfile.cn/v/1351071710/i1/js/player/player.swf"> <param name="movie" value="http://cdn.dfile.cn/v/1351071710/i1/js/player/player.swf" /> <param name="quality" value="high" /> <param name="bgcolor" value="#ffffff" /> <param name="allowScriptAccess" value="always" /> <param name="allowFullScreen" value="true" /> <param name="hasPriority" value="true" /> <param name="FlashVars" value="volume=100" /> <embed style="position:absolute;top:-1000%;width:1px;height:1px;-khtml-opacity:0;-moz-opacity:0;opacity:0;" src="http://cdn.dfile.cn/v/1351071710/i1/js/player/player.swf" quality="high" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed> </object> <div id="header"> <div class="nav"> <div class="links"><a class=cur href="http://dict.cn">词典</a><a href="http://fanyi.dict.cn">翻译</a><a href="http://xuehai.cn">学海网校</a><a href="http://my.dict.cn">家园</a><a class="more" href="javascript:;">更多</a><div class="mobile"> <a target="_blank" href="http://cidian.dict.cn/?iref=dict-header-button&id=gopc">手机词典下载</a></div> <div class="morelinks"> <ol> <ul class="plate"> <li><a class="wkt" target="_blank" href="http://ketang.dict.cn">微课堂</a></li> <li><a class="en" target="_blank" href="http://en.dict.cn">海词英语</a></li> <li><a class="scb" target="_blank" href="http://scb.dict.cn/">生词本</a></li> <li><a class="bdc" target="_blank" href="http://bdc.dict.cn/">背单词</a></li> </ul> <ul class="chain"> <li><a target="_blank" href="http://cidian.dict.cn/">桌面客户端</a></li> <li><a target="_blank" href="http://cidian.dict.cn/?id=gopc">手机客户端</a></li> <li><a target="_blank" href="http://group.dict.cn/">小组</a></li> <li><a target="_blank" href="http://my.dict.cn/forum.php">论坛</a></li> </ul> </ol> </div> </div> <div class="login"> <a href="http://passport.dict.cn/login">登录</a><em>|</em><a href="http://passport.dict.cn/register" title="注册">注册</a> <em>|</em><a href="###" act="feedback" onclick="showFback(this);" title="意见反馈">意见反馈</a> <div class="personinfo"> <ol> <ul> <li><a href="http://my.dict.cn/home-space-do-notice.html" target="_blank">查看提醒</a></li> <li><a href="http://my.dict.cn/home-space-do-pm.html" target="_blank">查看短消息</a></li> <li><a href="http://ask.dict.cn/" target="_blank">我的问海词</a></li> </ul> <ul> <li><a title="设置" target="_blank" href="http://account.dict.cn/">设置</a></li> </ul> </ol> </div> </div> </div></div> <div id="main"> <div class="logo"> <h1> <div slot="1"> <a href="/" title="在线翻译,在线词典"><img alt="海词词典" src="http://cdn.dfile.cn/i1/images/dict_logo.png" /></a> </div> </h1> </div> <div class="search"> <div class="search-nav"> <div slot="2"></div> <ul> <li class="cur"><a href="http://dict.cn"><b>英 汉</b></a><i></i></li> <li><a href="http://juhai.dict.cn">句海</a></li> <li><a href="http://hanyu.dict.cn">汉语</a></li> <li class="sp">|</li> <li><a href="http://abbr.dict.cn">缩略语</a></li> <li><a href="http://ename.dict.cn">人名</a></li> <li class="sp">|</li> <li><a href="http://shh.dict.cn">上海话</a></li> <li><a href="http://gdh.dict.cn">广东话</a></li> <div class="cl"></div> </ul> </div> <div class="search-box"> <form id="sf" action="/search.php" method="get"> <div class="search-box-i"><input type="text" id="q" name="q" class="search-i" autocomplete="off" placeholder="请输入要查询的单词、短语" x-webkit-speech /></div> <div class="search-box-btn"><input type="submit" name="search" class="search-btn" value="查词" title="查词" /></div> <div class="cl"></div> </form> </div> </div> <div class="en_every_day plr190"> <strong>每日一句:</strong> <img class="speaker" title="播放读音" audio="20080616" src="http://cdn.dfile.cn/i1/images/cleardot.gif" /> <a href="http://ketang.dict.cn/item/4e155658a7bb354f330003ba" target="_blank"> What about you? 你呢? </a> </div> <div class="ad_banner plr190"> <div slot="3"></div> </div> </div> <div id="footer"> <p><a href="http://about.dict.cn/contact">联系海词</a> - <a href="http://about.dict.cn/introduce">关于海词</a> - <a href="http://about.dict.cn/secretProtection">隐私保护</a> - <a href="http://about.dict.cn/copyrightstatement">版权声明</a> - <a target="_blank" href="http://dict.cn/hr/">诚聘英才</a></p> <p>©2003 - 2012 <a href="http://dict.cn/">海词词典</a>(Dict.CN) - 自 2003 年 11 月 27 日开始服务 沪ICP备08018881号 <a target="_blank" href="http://www.sgs.gov.cn/lz/licenseLink.do?method=licenceView&entyId=20120601170952752"><img border="0" src="http://cdn.dfile.cn/i1/images/gs_icon.gif"></a></p> </div> <script type="text/javascript"> var cur_dict = 'dict', i1_home='http://cdn.dfile.cn', xuehai_home='http://xuehai.cn', passport_home='http://passport.dict.cn', $dict_id = null, $dict_query = null, $dict_dict = null, $user_id = 0, $dict_ver=1351151794; </script> <script type="text/javascript" src="http://cdn.dfile.cn/i1/js/ddialog/ddialog.1.0.0.min.js"></script> <script type="text/javascript" src="http://cdn.dfile.cn/v/1349450884/i1/js/inputPrompt.min.js"></script> <script type="text/javascript" src="http://cdn.dfile.cn/v/1351071930/i1/js/base.min.js"></script> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-138041-2']); _gaq.push(['_setDomainName', 'dict.cn']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </body> </html>
IP是正确的, 只是禁止了通过IP直接访问网站