{"id":8439,"date":"2020-08-28T12:58:39","date_gmt":"2020-08-28T04:58:39","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=8439"},"modified":"2020-08-28T13:32:10","modified_gmt":"2020-08-28T05:32:10","slug":"named-checkconf","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/named-checkconf","title":{"rendered":"named-checkconf\u547d\u4ee4 – named\u914d\u7f6e\u6587\u4ef6\u8bed\u6cd5\u68c0\u67e5"},"content":{"rendered":"\n
\u4f7f\u7528named-checkconf\u547d\u4ee4\u53ef\u4ee5\u5bf9named\u914d\u7f6e\u6587\u4ef6\u8fdb\u884c\u8bed\u6cd5\u68c0\u67e5\u3002\u9700\u8981\u6307\u5b9a\u8981\u68c0\u67e5\u7684\u914d\u7f6e\u6587\u4ef6\u7684\u540d\u79f0\uff0c\u5982\u679c\u6ca1\u6709\u6307\u5b9a\u5219\u9ed8\u8ba4\u4e3a\/etc\/named.conf\u6587\u4ef6\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong> named-checkconf [\u53c2\u6570] [\u914d\u7f6e\u6587\u4ef6]<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u5bf9\/etc\/named.conf\u914d\u7f6e\u6587\u4ef6\u8fdb\u884c\u8bed\u6cd5\u68c0\u6d4b\uff1a<\/p>\n\n\n\n \u4f7f\u7528named-checkconf\u547d\u4ee4\u53ef\u4ee5\u5bf9named\u914d\u7f6e\u6587\u4ef6\u8fdb\u884c\u8bed\u6cd5\u68c0\u67e5\u3002\u9700\u8981\u6307\u5b9a\u8981\u68c0\u67e5\u7684\u914d\u7f6e\u6587\u4ef6\u7684\u540d\u79f0\uff0c\u5982 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8439"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=8439"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8439\/revisions"}],"predecessor-version":[{"id":8639,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8439\/revisions\/8639"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=8439"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=8439"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=8439"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-b<\/td> \u663e\u793a\u60c5\u51b5\u6458\u8981\u5e76\u9000\u51fa<\/td><\/tr> -z<\/td> \u6267\u884cnamed.conf\u914d\u7f6e\u6587\u4ef6\u4e2d\u627e\u5230\u7684\u6240\u6709\u4e3b\u8981\u533a\u57df\u7684\u6d4b\u8bd5\u8d1f\u8f7d<\/td><\/tr> -t<\/td> \u5c06\u73b0\u6709\u76ee\u5f55\u5207\u6362\u81f3\u6307\u5b9a\u76ee\u5f55\u4ee5\u4fbf\u5904\u7406\u914d\u7f6e\u6587\u4ef6\u4e2d\u7684\u5df2\u5305\u62ec\u4f2a\u547d\u4ee4<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# named-checkconf \/etc\/named.conf<\/pre>\n","protected":false},"excerpt":{"rendered":"