{"id":131,"date":"2011-01-27T12:07:00","date_gmt":"2011-01-27T04:07:00","guid":{"rendered":"http:\/\/blog.garphy.com\/?p=131"},"modified":"2011-01-27T13:03:56","modified_gmt":"2011-01-27T05:03:56","slug":"%e6%b8%85%e9%99%a4dns%e7%bc%93%e5%ad%98","status":"publish","type":"post","link":"https:\/\/blog.garphy.com\/?p=131","title":{"rendered":"\u6e05\u9664DNS\u7f13\u5b58"},"content":{"rendered":"<p>\u7f13\u5b58\u5728\u8c03\u8bd5\u7684\u65f6\u5019\u662f\u5f88\u9ebb\u70e6\u7684\u4e1c\u897f\uff0c\u6536\u96c6\u6574\u7406\u4e86\u4e00\u4e0b\u3002<\/p>\n<p>\u4eca\u5929\u8bf4\u7684DNS\u7f13\u5b58\uff0c\u4e00\u822c\u6709\u4e24\u5c42\uff1a\u7cfb\u7edfDNS\u7f13\u5b58\u3001\u6d4f\u89c8\u5668DNS\u7f13\u5b58\uff0c\u4e0b\u9762\u6328\u4e2a\u4ecb\u7ecd\u4e0b\u6e05\u9664\u65b9\u6cd5\uff1a<\/p>\n<h2>Windows<\/h2>\n<p>ps\uff1a\u5f00\u542fUAC\u7684\u8981\u7528\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884ccmd<\/p>\n<blockquote><p>ipconfig \/flushdns<\/p><\/blockquote>\n<h2>Linux<\/h2>\n<blockquote><p>sudo \/etc\/init.d\/networking restart<\/p><\/blockquote>\n<h2>Mac OSX<\/h2>\n<blockquote><p>$ lookupd -flushcache<\/p><\/blockquote>\n<h2>IE<\/h2>\n<p>\u8981\u6539\u6ce8\u518c\u8868\uff0c\u5355\u4f4d\uff1a\u79d2<\/p>\n<blockquote><p>[HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings]<br \/>\n&#8220;DnsCacheEnabled&#8221;=dword:00000000<br \/>\n&#8220;DnsCacheTimeout&#8221;=dword:00000000<br \/>\n&#8220;ServerInfoTimeOut&#8221;=dword:00000000<\/p><\/blockquote>\n<p>\u9644<a href=\"http:\/\/www.iefans.net\/wp-content\/uploads\/2010\/12\/%E7%A6%81%E7%94%A8DNS%E7%BC%93%E5%AD%98.reg\" target=\"_blank\">reg\u6587\u4ef6<\/a>\uff0c\u53ef\u53cc\u51fb\u5bfc\u5165\uff1b<\/p>\n<h2>Firefox<\/h2>\n<p>\u5730\u5740\u8f93\u5165 about:config<\/p>\n<p>\u65b0\u5efa\u4e00\u4e2a\uff0c\u7c7b\u578b\uff1a\u6574\u6570\uff0c\u540d\u79f0\uff1a<\/p>\n<blockquote><p>network.dnsCacheExpiration<\/p><\/blockquote>\n<p>\u503c\u4e3a0\u65f6\u7981\u7528ff DNS\u7f13\u5b58\uff0c\u636e\u8bf4firefox3\u5df2\u7ecf\u9ed8\u8ba4\u7981\u7528\u6d4f\u89c8\u5668DNS\u7f13\u5b58<\/p>\n<p>[\u53c2\u8003]<\/p>\n<p><a href=\"http:\/\/www.technize.com\/how-to-change-internet-explorer-dns-cache-keepalive-and-server-info-timeouts\/\" target=\"_blank\">http:\/\/www.technize.com\/how-to-change-internet-explorer-dns-cache-keepalive-and-server-info-timeouts\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7f13\u5b58\u5728\u8c03\u8bd5\u7684\u65f6\u5019\u662f\u5f88\u9ebb\u70e6\u7684\u4e1c\u897f\uff0c\u6536\u96c6\u6574\u7406\u4e86\u4e00\u4e0b\u3002 \u4eca\u5929\u8bf4\u7684DNS\u7f13\u5b58\uff0c\u4e00\u822c\u6709\u4e24\u5c42\uff1a\u7cfb\u7edfDNS\u7f13\u5b58\u3001\u6d4f\u89c8\u5668DNS &hellip; <a href=\"https:\/\/blog.garphy.com\/?p=131\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u6e05\u9664DNS\u7f13\u5b58<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[24,25],"class_list":["post-131","post","type-post","status-publish","format-standard","hentry","category-soft","tag-dns","tag-25"],"_links":{"self":[{"href":"https:\/\/blog.garphy.com\/index.php?rest_route=\/wp\/v2\/posts\/131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.garphy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.garphy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.garphy.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.garphy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=131"}],"version-history":[{"count":10,"href":"https:\/\/blog.garphy.com\/index.php?rest_route=\/wp\/v2\/posts\/131\/revisions"}],"predecessor-version":[{"id":141,"href":"https:\/\/blog.garphy.com\/index.php?rest_route=\/wp\/v2\/posts\/131\/revisions\/141"}],"wp:attachment":[{"href":"https:\/\/blog.garphy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.garphy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.garphy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}