{"id":11207,"date":"2021-09-28T15:24:05","date_gmt":"2021-09-28T07:24:05","guid":{"rendered":"https:\/\/ailog.tw\/lifelog\/?p=11207"},"modified":"2021-09-28T15:24:05","modified_gmt":"2021-09-28T07:24:05","slug":"allow-query-cache","status":"publish","type":"post","link":"https:\/\/ailog.tw\/lifelog\/2021\/09\/28\/allow-query-cache\/","title":{"rendered":"Bind\u670d\u52d9\u88ab\u5f31\u9ede\u6383\u63cf\u6aa2\u6e2c\u51fa\u300cDNS Server Cache Snooping Remote Information Disclosure\u300d\u5982\u4f55\u6539\u5584"},"content":{"rendered":"<p><span style=\"font-size: 14pt; font-family: verdana, geneva;\">\u900f\u904eLinux\/FreeBSD\u4e3b\u6a5f\u67b6\u8a2dDNS Server\u4e0d\u610f\u5916\u90fd\u662f\u63a1\u7528BIND\u5957\u4ef6\uff0c\u4f46\u5982\u679c\u5f31\u9ede\u6383\u63cf\u5075\u6e2c\u51fa\u300cDNS Server Cache Snooping Remote Information Disclosure\u300d\u76f8\u95dc\u7684\u98a8\u96aa\uff0c\u8a72\u5982\u4f55\u6392\u9664\u5462?<br \/>\n\u5c0f\u7de8\u4eca\u5929\u5206\u4eab\u4e00\u4e0b\u8655\u7406\u7684\u904e\u7a0b\u3002<!--more--><\/span><\/p>\n<p><span style=\"font-size: 14pt; font-family: verdana, geneva;\">\u5f31\u9ede\u6383\u63cf\u5f71\u97ff\u8aaa\u660e\uff1a<\/span><br \/>\n<span style=\"font-size: 14pt; font-family: verdana, geneva;\"><a href=\"https:\/\/www.tenable.com\/plugins\/nessus\/12217\">https:\/\/www.tenable.com\/plugins\/nessus\/12217<\/a><br \/>\n<\/span><\/p>\n<p><span style=\"font-size: 14pt; font-family: verdana, geneva;\">[\u7bc4\u4f8b\u60c5\u5883]<\/span><br \/>\n<span style=\"font-size: 14pt; font-family: verdana, geneva;\">01\u3001\u4f5c\u696d\u7cfb\u7d71\u70baFreeBSD 12.2-RELEASE-p7<\/span><br \/>\n<span style=\"font-size: 14pt; font-family: verdana, geneva;\">02\u3001BIND\u7248\u672c\u70ba9.16.16<\/span><\/p>\n<p><span style=\"font-size: 14pt; font-family: verdana, geneva;\">[\u64cd\u4f5c\u6b65\u9a5f]<\/span><br \/>\n<span style=\"font-size: 14pt; font-family: verdana, geneva;\">01\u3001\u8b8a\u66f4BIND\u8a2d\u5b9a\u6a94<br \/>\n(1)\u3001\u7de8\u8f2f\u8a2d\u5b9a\u6a94<\/span><br \/>\n<span style=\"font-size: 14pt; font-family: verdana, geneva;\">\u6307\u4ee4\u8a9e\u6cd5\uff1a<\/span><br \/>\n<span style=\"font-size: 14pt; font-family: verdana, geneva;\"><span style=\"font-family: verdana, geneva;\">vi \/usr\/local\/etc\/namedb\/named.conf<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11209 size-full\" src=\"https:\/\/ailog.tw\/lifelog\/wp-content\/uploads\/2021\/09\/allow-query-cache-01.png\" alt=\"\" width=\"713\" height=\"86\" srcset=\"https:\/\/ailog.tw\/lifelog\/wp-content\/uploads\/2021\/09\/allow-query-cache-01.png 713w, https:\/\/ailog.tw\/lifelog\/wp-content\/uploads\/2021\/09\/allow-query-cache-01-300x36.png 300w\" sizes=\"auto, (max-width: 713px) 100vw, 713px\" \/><\/span><\/span><\/p>\n<p><span style=\"font-size: 14pt; font-family: verdana, geneva;\">(2)\u3001\u4fee\u6539\u8a2d\u5b9a\u53c3\u6578<\/span><br \/>\n<span style=\"font-size: 14pt; font-family: verdana, geneva;\">\u5728options\u9078\u9805\u88e1\u9762\u65b0\u589e\u4e0b\u5217\u8a2d\u5b9a\u503c<br \/>\noptions {<\/span><br \/>\n<span style=\"font-size: 14pt; font-family: verdana, geneva;\">allow-query-cache { none; };<\/span><br \/>\n<span style=\"font-size: 14pt; font-family: verdana, geneva;\">};<\/span><br \/>\n<span style=\"font-size: 14pt; font-family: verdana, geneva;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11210 size-full\" src=\"https:\/\/ailog.tw\/lifelog\/wp-content\/uploads\/2021\/09\/allow-query-cache-02.png\" alt=\"\" width=\"567\" height=\"248\" srcset=\"https:\/\/ailog.tw\/lifelog\/wp-content\/uploads\/2021\/09\/allow-query-cache-02.png 567w, https:\/\/ailog.tw\/lifelog\/wp-content\/uploads\/2021\/09\/allow-query-cache-02-300x131.png 300w\" sizes=\"auto, (max-width: 567px) 100vw, 567px\" \/><\/span><\/p>\n<p><span style=\"font-size: 14pt; font-family: verdana, geneva;\">02\u3001\u91cd\u65b0\u555f\u52d5BIND\u670d\u52d9<br \/>\n\u6307\u4ee4\u8a9e\u6cd5\uff1a<br \/>\n\/usr\/local\/etc\/rc.d\/named restart<\/span><br \/>\n<span style=\"font-size: 14pt; font-family: verdana, geneva;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11211 size-full\" src=\"https:\/\/ailog.tw\/lifelog\/wp-content\/uploads\/2021\/09\/allow-query-cache-03.png\" alt=\"\" width=\"687\" height=\"114\" srcset=\"https:\/\/ailog.tw\/lifelog\/wp-content\/uploads\/2021\/09\/allow-query-cache-03.png 687w, https:\/\/ailog.tw\/lifelog\/wp-content\/uploads\/2021\/09\/allow-query-cache-03-300x50.png 300w\" sizes=\"auto, (max-width: 687px) 100vw, 687px\" \/><\/span><span style=\"font-size: 14pt; font-family: verdana, geneva;\"><br \/>\n<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u900f\u904eLinux\/FreeBSD\u4e3b\u6a5f\u67b6\u8a2dDNS Server\u4e0d\u610f\u5916\u90fd\u662f\u63a1\u7528BIND\u5957\u4ef6\uff0c\u4f46\u5982\u679c\u5f31\u9ede\u6383\u63cf\u5075\u6e2c\u51fa\u300cD &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/ailog.tw\/lifelog\/2021\/09\/28\/allow-query-cache\/\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008Bind\u670d\u52d9\u88ab\u5f31\u9ede\u6383\u63cf\u6aa2\u6e2c\u51fa\u300cDNS Server Cache Snooping Remote Information Disclosure\u300d\u5982\u4f55\u6539\u5584\u3009<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":11212,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,380,379],"tags":[3807,1289,4831,145,121,4833,4832,4834],"class_list":["post-11207","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-itinfo","category-freebsd","category-linux","tag-bind","tag-dns","tag-dns-server-cache-snooping-remote-information-disclosure","tag-freebsd","tag-linux","tag-named","tag-nessus-plugin-id-12217","tag-4834"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ailog.tw\/lifelog\/wp-json\/wp\/v2\/posts\/11207","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ailog.tw\/lifelog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ailog.tw\/lifelog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ailog.tw\/lifelog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ailog.tw\/lifelog\/wp-json\/wp\/v2\/comments?post=11207"}],"version-history":[{"count":2,"href":"https:\/\/ailog.tw\/lifelog\/wp-json\/wp\/v2\/posts\/11207\/revisions"}],"predecessor-version":[{"id":11213,"href":"https:\/\/ailog.tw\/lifelog\/wp-json\/wp\/v2\/posts\/11207\/revisions\/11213"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ailog.tw\/lifelog\/wp-json\/wp\/v2\/media\/11212"}],"wp:attachment":[{"href":"https:\/\/ailog.tw\/lifelog\/wp-json\/wp\/v2\/media?parent=11207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ailog.tw\/lifelog\/wp-json\/wp\/v2\/categories?post=11207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ailog.tw\/lifelog\/wp-json\/wp\/v2\/tags?post=11207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}