{"id":5256,"date":"2022-10-07T16:32:02","date_gmt":"2022-10-07T08:32:02","guid":{"rendered":"https:\/\/www.baishitou.cn\/?p=5256"},"modified":"2022-10-07T16:34:31","modified_gmt":"2022-10-07T08:34:31","slug":"%e4%bf%ae%e6%94%b9hosts%e6%96%87%e4%bb%b6%e8%a7%a3%e5%86%b3%e8%b0%b7%e6%ad%8c%e7%bd%91%e9%a1%b5%e7%bf%bb%e8%af%91%e5%a4%b1%e6%95%88%ef%bc%8c%e5%b8%ae%e4%bd%a0%e5%a4%8d%e6%b4%bb%e8%b0%b7%e6%ad%8c","status":"publish","type":"post","link":"https:\/\/www.baishitou.cn\/5256.html","title":{"rendered":"\u4fee\u6539hosts\u6587\u4ef6\u89e3\u51b3\u8c37\u6b4c\u7f51\u9875\u7ffb\u8bd1\u5931\u6548\uff0c\u5e2e\u4f60\u590d\u6d3b\u8c37\u6b4c\u81ea\u52a8\u7ffb\u8bd1"},"content":{"rendered":"
\u8c37\u6b4c\u6d4f\u89c8\u5668\u81ea\u5e26\u8c37\u6b4c\u7ffb\u8bd1\uff0c\u4f7f\u7528\u8d77\u6765\u975e\u5e38\u65b9\u4fbf\uff0c\u8fd1\u65e5,Google\u5ba3\u5e03\u5728\u4e2d\u56fd\u505c\u6b62\u63d0\u4f9b\u7ffb\u8bd1\u670d\u52a1,\u539f\u672c\u7684\u7f51\u5740(translate.google.cn)\u6362\u6210\u4e86\u666e\u901a\u7684Google Search\u641c\u5bfb\u9875\u9762,\u4e2d\u56fd\u7528\u6237\u5728\u4f7f\u7528Chrome\u6d4f\u89c8\u5668\u65f6,\u5c06\u65e0\u6cd5\u4f7f\u7528\u7ffb\u8bd1\u529f\u80fd\u3002\u5b98\u65b9\u79f0\u201cGoogle\u5df2\u7ecf\u505c\u6b62\u4e86Google\u7ffb\u8bd1\u5728\u4e2d\u56fd\u5927\u9646\u5730\u533a\u7684\u670d\u52a1,\u539f\u56e0\u662f\u2018\u56e0\u4e3a\u4f7f\u7528\u7387\u4f4e\u2019\u3002\u201d<\/p>\n \u56e0\u4e3a\u6211\u4e00\u76f4\u4f7f\u7528\u7684\u8c37\u6b4c\u6d4f\u89c8\u5668\uff0c\u4f7f\u7528\u9700\u8981\u7ffb\u8bd1\u65f6\uff0c\u8ba9\u4eba\u6293\u72c2\uff0c\u4eca\u5929\u6211\u4eec\u5c31\u6765\u89e3\u51b3\u8c37\u6b4c\u5931\u6548\u7684\u95ee\u9898\u3002<\/p>\n \u867d\u7136Google\u5bf9\u56fd\u5185\u505c\u6b62\u7ffb\u8bd1\u670d\u52a1\uff0c\u4f46\u8c37\u6b4c\u7ffb\u8bd1\u7684API\u670d\u52a1\u8fd8\u5728\uff0c\u53ea\u9700\u8981\u901a\u8fc7hosts\u91cd\u5b9a\u5411\u5230\u56fd\u5185\u670d\u52a1\u5668\uff0c\u5373\u53ef\u6062\u590d\u4f7f\u7528\u8c37\u6b4c\u7f51\u9875\u81ea\u52a8\u7ffb\u8bd1\u3002<\/p>\n \u67e5\u627e\u8c37\u6b4c\u7ffb\u8bd1\u670d\u52a1\u5668translate.google.cn\u7684IP\uff0c\u8fd9\u91cc\u6211\u4eec\u7528\u7ad9\u957f\u4e2d\u56fd\u7684ping\u5de5\u5177https:\/\/ping.chinaz.com\/\uff0c\u5728\u6846\u91cc\u8f93\u5165translate.google.cn\uff0c\u8fd9\u91cc\u9009\u62e9\u7535\u4fe1\u3001\u591a\u7ebf\u3001\u8054\u901a\u3001\u79fb\u52a8\uff0c\u628a\u5176\u4ed6\u53bb\u6389\u3002\u7136\u540eping\u68c0\u6d4b\u3002<\/p>\n \u7a0d\u7b49\u7247\u523b\u540e\u3002\u5b83\u4f1a\u5217\u51fa\u56fd\u5185\u6240\u6709\u53ef\u7528IP\u3002<\/p>\n \u8fdb\u884cIP\u7b5b\u9009\uff0c\u6211\u4eec\u4e0d\u8981\u770b\u201c\u54cd\u5e94\u65f6\u95f4\u6700\u5c0f\u201d\u7684 IP\uff0c\u56e0\u4e3a\u90a3\u4e2a\u662f\u5168\u56fd\u5404\u5730\u201c\u76d1\u6d4b\u70b9\u201d\u7684\u54cd\u5e94\u65f6\u95f4\u3002<\/p>\n \u6211\u4eec\u5e94\u8be5\u9009\u62e9\u201c\u7269\u7406\u8ddd\u79bb\u6700\u8fd1\u201d\u7684 IP\u3002<\/p>\n \u6bd4\u5982\u6211\u5728\u5317\u4eac\uff0c\u6211\u5c31\u9009\u62e9IP\u5f52\u5c5e\u5730\u662f\u5317\u4eac\u7684IP\uff0c\u770b\u770b\u54ea\u4e2aIP\u7684ping\u503c\u54cd\u5e94\u65f6\u95f4\u6700\u5c0f\u5c31\u4f7f\u7528\u90a3\u4e2a\u3002\u8fd9\u91cc\u6211\u5c31\u5206\u522b\u8bd5\u4e86\u5317\u4eac\u8054\u901a\u548c\u5317\u4eac\u7535\u4fe1\uff0c\u5b83\u4eec\u7684PING\u503c\u54cd\u5e94\u65f6\u95f4\u5206\u522b\u662f8ms\u30017ms<\/p>\n \u628a\u6211\u4eec\u6253\u9009\u5b9a\u7684IP\u5199\u5165hosts\u6587\u4ef6\u3002<\/p>\n Windows\u7cfb\u7edf\u7684hosts.txt\u6587\u4ef6\u4f4d\u7f6e\u5728C:\\Windows\\System32\\drivers\\etc\\\u91cc\u9762\u3002<\/p>\n \u7528\u6587\u672c\u7f16\u8f91\u5668\u6253\u5f00\uff0c\u5982\u679c\u6ca1\u6709\u6587\u672c\u7f16\u8f91\u5668\u4e5f\u53ef\u4ee5\u7528\u8bb0\u4e8b\u672c\u6253\u5f00\u3002\u4f46\u4fdd\u5b58\u65f6\u6ce8\u610f\u53bb\u6389.txt\u6269\u5c55\u540d<\/p>\n \u8fd9\u91cc\u9700\u8981\u8bf4\u4e00\u4e0b\uff0c\u4f60\u76f4\u63a5\u4fee\u6539\u7684\u8bdd\uff0c\u56e0\u4e3a\u6743\u9650\u95ee\u9898\uff0c\u4f1a\u51fa\u73b0\u65e0\u6cd5\u4fdd\u5b58\u7684\u60c5\u51b5\u3002\u8fd9\u91cc\u6559\u5927\u5bb6\u4e00\u4e2a\u7b80\u5355\u65b9\u6cd5\uff0c\u4e0d\u7528\u4fee\u6539\u4ec0\u4e48\u6743\u9650\uff0c\u6211\u4eec\u5148\u628ahosts\u8fd9\u4e2a\u6587\u4ef6\u590d\u5236\u5230\u684c\u9762\u4e0a\u3002\u4fee\u6539\uff0c\u4fdd\u5b58\u3002\u7136\u540e\u66ff\u6362\u6389\u539f\u6765\u7684\u6587\u4ef6\u5373\u53ef\u3002<\/p>\n<\/a><\/p>\n
<\/a><\/p>\n
\u7b2c\u4e00\u6b65<\/h2>\n
<\/a><\/p>\n
\u7b2c\u4e8c\u6b65<\/h2>\n
<\/a><\/p>\n
<\/a><\/p>\n
\u7b2c\u4e09\u6b65<\/h2>\n
<\/a><\/p>\n
#\u6062\u590d\u8c37\u6b4c\u7ffb\u8bd1\r\n220.181.174.98 translate.googleapis.com\r\n<\/code><\/pre>\n