{"id":18625,"date":"2024-11-19T20:29:52","date_gmt":"2024-11-19T12:29:52","guid":{"rendered":"https:\/\/fwq.ai\/blog\/?p=18625"},"modified":"2024-11-19T20:29:52","modified_gmt":"2024-11-19T12:29:52","slug":"bind%e4%b8%ad%e7%9a%84zone%e8%af%ad%e5%8f%a5%e7%9a%84%e5%ae%9a%e4%b9%89%e5%92%8c%e7%94%a8%e6%b3%95","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/18625\/","title":{"rendered":"Bind\u4e2d\u7684zone\u8bed\u53e5\u7684\u5b9a\u4e49\u548c\u7528\u6cd5"},"content":{"rendered":"<p>\u5728\u4e86\u89e3Zone\u8bed\u53e5\u4e4b\u524d\u9700\u8981\u5148\u4e86\u89e3view\u8bed\u53e5\u7684\u7528\u6cd5\uff0c\u53ef\u53c2\u8003\u6587\u7ae0\u4e0b\u9762\u7684\u6587\u7ae0\uff1a<\/p>\n<ol>\n<li>Bind\u4e2d\u7684view\u8bed\u53e5\u5b9a\u4e49\u548c\u7528\u6cd5<\/li>\n<li>[\u8f6c]\u5229\u7528View\u7279\u6027\u6765\u8bbe\u7f6e\u57df\u540d\u7684\u591a\u5339\u914d\u67e5\u8be2<\/li>\n<li>Bind \u4e4brecursion\u9012\u5f52<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h1>zone \u8bed\u53e5\u8bed\u6cd5<\/h1>\n<pre>zone zone_name [class] [{\r\n    type ( master | slave | hint | stub | forward ) ;\r\n    [ allow-notify { address_match_list } ; ]\r\n    [ allow-query { address_match_list } ; ]\r\n    [ allow-transfer { address_match_list } ; ]\r\n    [ allow-update { address_match_list } ; ]\r\n    [ update-policy { update_policy_rule [...] } ; ]\r\n    [ allow-update-forwarding { address_match_list } ; ]\r\n    [ alsonotify { ip_addr [port ip_port] ; [ ip_addr [port ip_port] ; ... ] }; ]\r\n    [ check-names (warn|fail|ignore) ; ]\r\n    [ dialup dialup_option ; ]\r\n    [ file string ; ]\r\n    [ forward (only|first) ; ]\r\n    [ forwarders { ip_addr [port ip_port] ; [ ip_addr [port ip_port] ; ... ] }; ]\r\n    [ ixfr-base string ; ]\r\n    [ ixfr-tmp-file string ; ]\r\n    [ maintain-ixfr-base yes_or_no ; ]\r\n    [ masters [port ip_port] { ip_addr [port ip_port] [key key]; [...] } ; ]\r\n    [ max-ixfr-log-size number ; ]\r\n    [ max-transfer-idle-in number ; ]\r\n    [ max-transfer-idle-out number ; ]\r\n    [ max-transfer-time-in number ; ]\r\n    [ max-transfer-time-out number ; ]\r\n    [ notify yes_or_no | explicit ; ]\r\n    [ pubkey number number number string ; ]\r\n    [ transfer-source (ip4_addr | *) [port ip_port] ; ]\r\n    [ transfer-source-v6 (ip6_addr | *) [port ip_port] ; ]\r\n    [ notify-source (ip4_addr | *) [port ip_port] ; ]\r\n    [ notify-source-v6 (ip6_addr | *) [port ip_port] ; ]\r\n    [ zone-statistics yes_or_no ; ]\r\n    [ sig-validity-interval number ; ]\r\n    [ database string ; ]\r\n    [ min-refresh-time number ; ]\r\n    [ max-refresh-time number ; ]\r\n    [ min-retry-time number ; ]\r\n    [ max-retry-time number ; ]\r\n}];<\/pre>\n<h1>\u5404\u53c2\u6570\u7684\u8be6\u89e3\u91ca<\/h1>\n<h2>type\uff1ahint<\/h2>\n<p>\u6839NS\u7684\u8bbe\u7f6e\uff0c\u4e5f\u5c31\u662f.\u57df\u7684\u670d\u52a1\u5668\u8bbe\u7f6e\u3002\u56e0\u4e3a\u6211\u4eec\u77e5\u9053\uff0c\u5ba2\u6237\u7aef\u4ece\u6307\u5b9a\u7684NS\u4e0a\u627e\u4e0d\u5230\u8bb0\u5f55\u540e\uff0c\u5c06\u4f1a\u51fa\u73b0\u4e24\u79cd\u60c5\u51b5\uff0c\u4e00\u79cd\u5411.\u57df\u670d\u52a1\u5668\u8bf7\u6c42\u67e5\u8be2\u3002\u4e00\u79cd\u5c06\u8bf7\u6c42\u8f6c\u53d1\u5230\u4e0a\u4e00\u7ea7NS\u670d\u52a1\u5668\u3002\u8fd9\u91cc\u7684\u8bbe\u7f6e\u662f\u6307\u7b2c\u4e00\u79cd\u3002<\/p>\n<p>\u4e3e\u4f8b\u8bf4\u660e\u5e38\u7528\u7684\u8bbe\u7f6e\uff1a<\/p>\n<pre>zone \".\" IN {\r\n    type hint;\r\n    file \"\/usr\/local\/named\/etc\/named.ca\";\r\n};<\/pre>\n<p><strong>Tips 1\uff1a<\/strong>hint\u53ea\u9488\u5bf9.\u57df\u8fdb\u884c\u8bbe\u7f6e\u3002<\/p>\n<p>\u770b\u4e0bnamed.ca\u7684\u79cd\u5176\u4e2d\u4e09\u884c\u3002<\/p>\n<pre>;; \u8fd9\u91cc\u6307\u5b9a.\u57df\u4e2d\u7684\u5176\u4e2d\u4e00\u53f0\u670d\u52a1\u5668\r\n.        518400 IN NS a.root-servers.net.\r\n\r\n\r\n;; \u8fd9\u91cc\u6307\u5b9a\u4e86\u8fd9\u53f0.\u57df\u670d\u52a1\u5668\u7684IPv4\u548cIPv6\u5177\u4f53\u5730\u5740.\r\na.root-servers.net.    3600000    IN A  198.41.0.4\r\na.root-servers.net.    3600000    IN AAAA   2001:503:ba3e::2:30<\/pre>\n<p><strong>Tip 2\uff1a<\/strong>\u53ef\u4ee5\u4ece\u8fd9\u91cc\u4e0b\u8f7d\u8fd9\u4e2a\u6587\u4ef6\uff1a<a title=\"http:\/\/www.hangdaowangluo.com\/downs\/named.ca\" href=\"http:\/\/www.hangdaowangluo.com\/downs\/named.ca\" target=\"_blank\" rel=\"noopener\">named.ca<\/a><\/p>\n<p><strong>Tip 3\uff1a<\/strong>\u5728\u4ec0\u4e48\u65f6\u5019\u4f1a\u4f7f\u7528hint \uff1f\u8fd9\u4e2a\u53ea\u662f\u4e2a\u4eba\u7684\u603b\u7ed3\uff0c\u5982\u679c\u4f60\u7684\u8fd9\u53f0NS\u6240\u5728\u7684\u5c40\u57df\u7f51\u5df2\u7ecf\u6709\u4e0a\u4e00\u5c42\u7684NS\u4e86\uff0c\u8fd9\u4e2a\u65f6\u5019\u8bbe\u7f6ehint \u662f\u6ca1\u6709\u4efb\u4f55\u4f5c\u7528\u7684\u3002\u56e0\u4e3a\u8fd9\u4e2a\u65f6\u5019\u4e0d\u4f7f\u7528\u5df2\u5b58\u5728\u7684NS\uff0c\u4f60\u6839\u672c\u4e0a\u4e0d\u4e86\u7f51\u3002\u53ea\u80fd\u8bbe\u7f6eforwarders {10.0.2.3;};\u00a0 \u540c\u65f6\u5f00\u542f\u9012\u5f52\u67e5\u8be2 recursion yes;<\/p>\n<h2>type\uff1amaster<\/h2>\n<p>\u8fd9\u662f\u4e00\u4e2a\u4e3b\u4ece\u7ed3\u6784\uff0c\u4e5f\u662f\u6700\u5e38\u7528\u7684\uff0c\u548c\u6211\u4eec\u5e73\u65f6\u6240\u8bf4\u7684\u4e3b\u4ece\u662f\u4e00\u4e2a\u610f\u601d\uff0c\u4e00\u822c\u60c5\u51b5\u4e0b\uff0c\u4e00\u4e2a\u57df\u540d\u89e3\u6790\u4f1a\u4f7f\u75282\u4e2aNS\uff0c\u5176\u5b9e\u8fd9\u91cc\u5c31\u662f\u4e3b\u4ece\uff0c\u9632\u6b62\u5355\u70b9\u6545\u969c\uff0c\u5f53\u7136\u4e5f\u53ef\u4ee5\u4e00\u4e3b\u591a\u4ece\u3002\u4e3e\u4f8b\u8bf4\u660e<\/p>\n<pre>zone \"abc.com\" IN {\r\n    type master;\r\n    file \"\/usr\/local\/named\/etc\/named.abc.com\";\r\n};<\/pre>\n<p><strong>Tips 1\uff1a<\/strong>named.abc.com\u4e2d\u7684\u5185\u5bb9\u5230\u5e95\u662f\u4ec0\u4e48\u6837\u7684\uff1f\u770b\u4e0b\u9762\u7684\u6ce8\u89e3\uff1a<\/p>\n<p><strong>FQDN\u7684\u5199\u6cd5\uff1a<\/strong><\/p>\n<pre>$TTL 600\r\n@               IN  SOA     master.abc.com. woodie.abc.com. ( 2017022802 3H 15M 1W 1D )\r\n@               IN  NS      master.abc.com.\r\nmaster.abc.com. IN  A       192.168.80.110\r\n@               IN  MX  10  www.abc.com.\r\nwww.abc.com.    IN  A       192.168.80.121\r\nbbs.abc.com.    IN  CNAME   www.abc.com.\r\nftp.abc.com.    IN  CNAME   www.abc.com.\r\nlinux.abc.com.  IN  CNAME   www.abc.com.\r\nslave.abc.com.  IN  A       192.168.80.120\r\n122.abc.com.    IN  A       192.168.80.122\r\n\r\n\r\n#\u5176\u4e2d2017022802 3H 15M 1W 1D,\u5206\u522b\u662f<strong>serial,refresh,retry,expire,Minimum,\u770b\u53c2\u8003Tips 3<\/strong><\/pre>\n<p><strong>\u7b80\u5199\uff1a<\/strong><\/p>\n<pre>$TTL 600\r\n@               IN  SOA     master.abc.com. woodie.abc.com.( 2017022802 3H 15M 1W 1D )\r\n@               IN  NS      master\r\nmaster          IN  A       192.168.80.110\r\n@               IN  MX  10  www\r\nwww             IN  A       192.168.80.121\r\nbbs             IN  CNAME   www\r\nftp             IN  CNAME   www\r\nlinux           IN  CNAME   www\r\nslave           IN  A       192.168.80.120\r\n122             IN  A       192.168.80.122<\/pre>\n<p>\u7b80\u5199\u4e0d\u592a\u5bb9\u6613\u770b\u660e\u767d\uff0c\u800cFQDN\u7684\u5199\u6cd5\uff0c\u53c8\u592a\u5570\u55e6\uff0c\u800c\u4e14\u8981\u6ce8\u610f.\uff08\u70b9\u53f7\uff09\uff0c\u6240\u4ee5\u6211\u4e2a\u4eba\u504f\u597d\u559c\u6b22\u8fd9\u6837\u7684\u5199\u6cd5\u3002<\/p>\n<pre>$TTL 600\r\n@               IN  SOA     master.abc.com. woodie.abc.com.( 2017022802 3H 15M 1W 1D )\r\n@               IN  NS      master.abc.com.\r\nmaster          IN  A       192.168.80.110\r\n@               IN  MX  10  www.abc.com.\r\nwww             IN  A       192.168.80.121\r\nbbs             IN  CNAME   www.abc.com.\r\nftp             IN  CNAME   www.abc.com.\r\nlinux           IN  CNAME   www.abc.com.\r\nslave           IN  A       192.168.80.120\r\n122             IN  A       192.168.80.122<\/pre>\n<p><strong>Tips 2\uff1a<\/strong>\u8bbe\u5b9a\u6cd5\u5219\uff0c\u77e5\u8bc6\u5efa\u8bae\uff0c\u5982\u679cRR\u8d44\u6599\u66f4\u65b0\u9891\u7e41,\u503c\u53ef\u4ee5\u76f8\u5e94\u7f29\u5199,\u5982\u679c\u4e0d\u662f\u53ef\u4ee5\u589e\u5927\u66f4\u65b0\u9891\u7387,\u51cf\u5c11\u540c\u6b65\u7684\u5e26\u5bbd\u3002<\/p>\n<pre>;Refresh &gt;= Retry *2 \r\n;Refresh + Retry &lt; Expire \r\n;Expire &gt;= Rrtry * 10 \r\n;Expire &gt;= 7Days ;<\/pre>\n<p><strong>Tips 3\uff1a<\/strong>\u53c2\u6570\u8be6\u89e3<\/p>\n<ul>\n<li><strong>ns.abc.com. woodie.abc.com. \uff1a<\/strong>\u8fd9\u91cc\u662fSOA\u7684\u56fa\u5b9a\u683c\u5f0f\uff0c\u8fd9\u91cc\u6709\u4e24\u90e8\u5206\u5185\u5bb9\uff0c\u4e2d\u95f4\u7528\u7a7a\u683c\u9694\u5f00\uff0c\u524d\u534a\u90e8\u5206\uff1aZone\u7684\u4e3b DNS \u670d\u52a1\u5668\u7684\u4e3b\u673a\u540d\uff0c\u540e\u534a\u90e8\u5206\uff1a\u7ba1\u7406Zone\u7684\u8d1f\u8d23\u4eba\u7684\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u3002\u5728\u8be5\u7535\u5b50\u90ae\u4ef6\u540d\u79f0\u4e2d\u4f7f\u7528\u82f1\u6587\u53e5\u70b9 (.) \u4ee3\u66ff\u201cat\u201d\u7b26\u53f7 (@)\u3002<\/li>\n<li><strong>$TTL\u00a0 \u6307\u4ee4\uff1a<\/strong>\u8be5zone\u7684\u7f13\u5b58\u65f6\u95f4<\/li>\n<li><strong>serial\uff1a<\/strong>\u6570\u503cSerial\u4ee3\u8868\u8fd9\u4e2aZone\u7684\u5e8f\u5217\u53f7\uff0c\u5e8f\u53f7\u8d8a\u5927\u8868\u660e\u8d44\u6599\u8d8a\u65b0,\u4e3b\u8981\u7528\u5728 master \/ slave \u540c\u6b65\u4f7f\u7528\uff0c\u6bcf\u6b21Zone\u6587\u4ef6\u66f4\u65b0\uff0c\u90fd\u9700\u8981\u4fee\u6539Serial\u6570\u503c\u3002RFC1912 2.2\u5efa\u8bae\u7684\u683c\u5f0f\u4e3aYYYYMMDDnn \u5176\u4e2dnn\u4e3a\u4fee\u8ba2\u53f7\uff0c,\u4f46\u5e8f\u53f7\u7684\u6700\u5927\u503c\u4e0d\u80fd\u5927\u4e8e2\u768432\u6b21\u65b9,\u53734294967296<\/li>\n<li><strong>refresh\uff1a<\/strong>\u6570\u503cRefresh\u8bbe\u7f6eSlave DNS\u591a\u957f\u65f6\u95f4\u4e0eMaster Server\u8fdb\u884cSerial\u6838\u5bf9\u3002\u76ee\u524dBind\u7684notify\u53c2\u6570\u53ef\u8bbe\u7f6e\u6bcf\u6b21Master DNS\u66f4\u65b0\u90fd\u4f1a\u4e3b\u52a8\u901a\u77e5Slave DNS\u66f4\u65b0\uff0cRefresh\u53c2\u6570\u4e3b\u8981\u7528\u4e8enotify\u53c2\u6570\u5173\u95ed\u65f6;<\/li>\n<li><strong>retry\uff1a<\/strong>\u6570\u503cRetry\u8bbe\u7f6e\u5f53Slave DNS\u8bd5\u56fe\u83b7\u53d6Master DNS Serial\u65f6\uff0c\u5982\u679cMaster DNS\u672a\u54cd\u5e94\uff0c\u591a\u957f\u65f6\u95f4\u91cd\u65b0\u8fdb\u884c\u68c0\u67e5;<\/li>\n<li><strong>expire\uff1a<\/strong>\u5982\u679cmaster\/slave\u57281\u5468\u5185\u90fd\u94fe\u63a5\u5931\u8d25,slave\u5c06\u4e0d\u518d\u5c1d\u8bd5\u94fe\u63a5master\uff0c\u4f46\u6ce8\u610f\uff0c\u6b64\u65f6slave\u8fd8\u4f1a\u7ee7\u7eed\u63d0\u4f9b\u89e3\u6790\u670d\u52a1\uff0c\u53ea\u662f\u6570\u636e\u4e0d\u5728\u66f4\u65b0\u3002<\/li>\n<li><strong>Minimum\uff1a<\/strong>\u5728 8.2\u7248\u672c\u4e4b\u524d\uff0c\u7531\u4e8e\u6ca1\u6709\u72ec\u7acb\u7684 $TTL \u6307\u4ee4\uff0c\u6240\u4ee5\u901a\u8fc7 SOA \u6700\u540e\u4e00\u4e2a\u5b57\u6bb5\u6765\u5b9e\u73b0\u3002\u4f46\u7531\u4e8e BIND 8.2 \u540e\u51fa\u73b0\u4e86 $TTL\u00a0 \u6307\u4ee4\uff0c\u8be5\u90e8\u5206\u529f\u80fd\u5c31\u4e0d\u518d\u7531 SOA \u7684\u6700\u540e\u4e00\u4e2a\u5b57\u6bb5\u6765\u8d1f\u8d23\uff0c\u7531 $TTL \u5168\u6743\u8d1f\u8d23\uff0cSOA \u7684\u6700\u540e\u4e00\u4e2a\u5b57\u6bb5\u4e13\u95e8\u8d1f\u8d23 negative answer ttl\uff08negative caching\uff09<\/li>\n<\/ul>\n<p><strong>\u00a0Tips 4\uff1a<\/strong>\u7ecf\u5e38\u63d0\u5230RR\u662f\u4ec0\u4e48\u610f\u601d\u5462\uff1fRR\u662fResource Record\u7684\u7f29\u5199\uff0c\u5305\u62ecA, NS, SOA, CNAME, MX.<\/p>\n<ul>\n<li>SOA\uff1a\u5f00\u59cb\u9a8c\u8bc1\u7684\u6807\u8bc6\uff0cStart of Authority\u7684\u7f29\u5199\u3002<\/li>\n<li>NS\uff1a\u57df\u540d\u670d\u52a1 NameServer\u7684\u7f29\u5199\u3002<\/li>\n<li>A\uff1a\u5177\u4f53\u5730\u5740IPv4\uff0cAddress\u7684\u7f29\u5199\u3002<\/li>\n<li>AAAA\uff1a\u5177\u4f53\u5730\u5740IPv6<\/li>\n<li>MX\uff1a\u90ae\u4ef6\u670d\u52a1\u5668<\/li>\n<li>CNAME\uff1a\u4e3b\u673a\u522b\u540d\u7684\u670d\u52a1\u5668<\/li>\n<\/ul>\n<p><strong>\u00a0Tips 5\uff1a\u53cd\u89e3\u914d\u7f6e<\/strong><\/p>\n<pre>zone \"80.168.192.in-addr.arpa\" IN {\r\n    type master;\r\n    file \"\/usr\/local\/named\/etc\/named.192.168.80\";\r\n    allow-update { none; };\r\n};<\/pre>\n<p><strong>\u00a0cat \/usr\/local\/named\/etc\/named.192.168.80<\/strong><\/p>\n<pre>$TTL 600\r\n@       IN  SOA     master.abc.com. woodie.abc.com.( 2017022802 3H 15M 1W 1D )\r\n@       IN  NS      master.abc.com.\r\n110     IN  PTR     master.abc.com.\r\n120     IN  PTR     slave.abc.com.\r\n121     IN  PTR     www.abc.com.\r\n122     IN  PTR     122.abc.com.\r\n\r\n#\u8fd9\u91cc\u4e0d\u518d\u91cd\u590d\u4ecb\u7ecd\uff0c\u5c06\u6b63\u89e3\u7684A\u6362\u6210PTR\u5373\u53ef<\/pre>\n<p><strong>\u00a0Tips 6\uff1a<\/strong>\u6709\u4e00\u4e2a\u5730\u65b9\u975e\u5e38\u6709\u610f\u601d\u3002\u5982\u679c\u5c06named.conf\u4e2d\u7684zone\u914d\u7f6e\u6210\u5982\u4e0b\uff1a<\/p>\n<pre>zone \"168.192.in-addr.arpa\" IN {\r\n    type master;\r\n    file \"\/usr\/local\/named\/etc\/named.192.168.80\";\r\n    allow-update { none; };\r\n};<\/pre>\n<p>\u90a3\u76f8\u5e94\u7684 \/usr\/local\/named\/etc\/named.192.168.80 \u7684\u6587\u4ef6\u4e5f\u76f8\u5e94\u7684\u8c03\u6574\u3002<\/p>\n<pre>$TTL 1\r\n@       IN  SOA     master.abc.com. woodie.abc.com.( 2017022802 3H 15M 1W 1D )\r\n@       IN  NS      master.abc.com.\r\n110.80     IN  PTR     master.abc.com.  \/\/\u6ce8\u610f\u662f110.80\uff0c\u800c\u4e0d\u662f80.110\r\n120.80     IN  PTR     slave.abc.com.\r\n121.80     IN  PTR     www.abc.com.\r\n122.80     IN  PTR     122.abc.com.<\/pre>\n<h2>\u00a0type\uff1aslave<\/h2>\n<p>\u548cmaster\u5f88\u76f8\u4f3c\uff0c\u6709\u51e0\u4e2a\u4e0d\u540c\u70b9\uff0cslave\u4e0d\u9700\u8981\u914d\u7f6e named.192.168.80 \u548c named.abc.com \u6587\u4ef6\uff0c\u56e0\u4e3aslave\u542f\u52a8\u6210\u529f\u540e\uff0c\u4f1a\u81ea\u52a8\u540c\u6b65\u3002\u5728named.conf\u4e2d\u7684\u914d\u7f6e\u4e5f\u4e0d\u4e00\u6837\uff0c\u6ce8\u610f\u6bd4\u8f83\uff1a<\/p>\n<pre>zone \"abc.com\" IN {\r\n    type slave;\r\n    file \"\/usr\/local\/named\/etc\/named.abc.com\";\r\n    masters {192.168.80.110;};\r\n};\r\nzone \"80.168.192.in-addr.arpa\" IN {\r\n    type slave;\r\n    file \"\/usr\/local\/named\/etc\/named.192.168.80\";\r\n    allow-update { none; };\r\n    masters {192.168.80.110;};\r\n};<\/pre>\n<h1>\u00a0type\uff1aforward<\/h1>\n<p>\u5148\u770b\u4e0b\u8bbe\u7f6e\u8bed\u6cd5\uff1a<\/p>\n<pre>zone \"taisha.org\" IN {\r\n    type forward;\r\n    forward first;\r\n    forwarders {10.0.2.3;};\r\n};<\/pre>\n<p>\u6b64\u65f6\u8bbf\u95ee taisha.org \u8fd9\u4e2a zone \u5c06\u8f6c\u53d1\u7ed910.0.2.3\u6765\u5904\u7406\u3002<\/p>\n<ul>\n<li><strong>forward<\/strong><br \/>\n\u6b64\u9009\u9879\u53ea\u6709\u5f53forwarders \u5217\u8868\u4e2d\u6709\u5185\u5bb9\u7684\u65f6\u5019\u624d\u6709\u610f\u4e49\u3002\u5f53\u503c\u662f First\uff0c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u4f7f<br \/>\n\u670d\u52a1\u5668\u5148\u67e5\u8be2\u8bbe\u7f6e\u7684forwarders\uff0c\u5982\u679c\u5b83\u6ca1\u6709\u5f97\u5230\u56de\u7b54\uff0c\u670d\u52a1\u5668\u5c31\u4f1a\u81ea\u5df1\u5bfb\u627e\u7b54\u6848\u3002<br \/>\n\u5982\u679c\u8bbe\u5b9a\u7684\u662f only\uff0c\u670d\u52a1\u5668\u5c31\u53ea\u4f1a\u628a\u8bf7\u6c42\u8f6c\u53d1\u5230\u5176\u5b83\u670d\u52a1\u5668\u4e0a\u53bb\u3002<\/li>\n<li><strong>forwarders<\/strong><br \/>\n\u8bbe\u5b9a\u8f6c\u53d1\u4f7f\u7528\u7684 ip \u5730\u5740\u3002\u9ed8\u8ba4\u7684\u5217\u8868\u662f\u7a7a\u7684( \u4e0d\u8f6c\u53d1)\u3002\u8f6c\u53d1\u4e5f\u53ef\u4ee5\u8bbe\u7f6e\u5728\u6bcf\u4e2a\u57df\u4e0a\uff0c<br \/>\n\u8fd9\u6837\u5168\u5c40\u9009\u9879\u4e2d\u7684\u8f6c\u53d1\u8bbe\u7f6e\u5c31\u4e0d\u4f1a\u8d77\u4f5c\u7528\u4e86\u3002\u7528\u6237\u53ef\u4ee5\u5c06\u4e0d\u540c\u7684\u57df\u8f6c\u53d1\u5230\u670d\u52a1\u5668\u4e0a\uff0c\u6216\u8005<br \/>\n\u5bf9\u4e0d\u540c\u7684\u57df\u53ef\u4ee5\u5b9e\u73b0 forward only \u6216 first \u7684\u4e0d\u540c\u65b9\u5f0f\uff0c\u4e5f\u53ef\u4ee5\u6839\u672c\u5c31\u4e0d\u8f6c\u53d1.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u4e86\u89e3Zone\u8bed\u53e5\u4e4b\u524d\u9700\u8981\u5148\u4e86\u89e3view\u8bed\u53e5\u7684\u7528\u6cd5\uff0c\u53ef\u53c2\u8003\u6587\u7ae0\u4e0b\u9762\u7684\u6587\u7ae0\uff1a Bind\u4e2d\u7684view\u8bed\u53e5\u5b9a\u4e49\u548c\u7528\u6cd5 [\u8f6c]\u5229\u7528View\u7279\u6027\u6765\u8bbe\u7f6e\u57df\u540d\u7684\u591a\u5339\u914d\u67e5\u8be2 Bind \u4e4brecursion\u9012\u5f52 &nbsp; zone \u8bed\u53e5\u8bed\u6cd5 zone zone_name [class] [{ type ( master | slave | hint | stub | forward ) ; [ allow-notify { address_match_list } ; ] [ allow-query { address_match_list } ; ] [ allow-transfer { address_match_list } ; ] [ allow-update { address_match_list } ; ] [ update-policy [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-18625","post","type-post","status-publish","format-standard","hentry","category-docker"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/18625","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=18625"}],"version-history":[{"count":1,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/18625\/revisions"}],"predecessor-version":[{"id":18626,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/18625\/revisions\/18626"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=18625"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=18625"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=18625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}