{"id":8538,"date":"2020-08-28T13:16:27","date_gmt":"2020-08-28T05:16:27","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=8538"},"modified":"2020-08-28T13:16:27","modified_gmt":"2020-08-28T05:16:27","slug":"nsupdate","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/nsupdate","title":{"rendered":"nsupdate\u547d\u4ee4 – \u52a8\u6001DNS\u66f4\u65b0\u5de5\u5177"},"content":{"rendered":"\n

nsupdate\u5b9e\u7528\u7a0b\u5e8f\u7528\u4e8e\u5411\u540d\u79f0\u670d\u52a1\u5668\u63d0\u4ea4 RFC2136 \u4e2d\u5b9a\u4e49\u7684\u52a8\u6001 DNS \u66f4\u65b0\u8bf7\u6c42\u3002\u8fd9\u5141\u8bb8\u5728\u65e0\u9700\u624b\u52a8\u7f16\u8f91\u533a\u6587\u4ef6\u7684\u60c5\u51b5\u4e0b\u4ece\u533a\u4e2d\u6dfb\u52a0\u6216\u5220\u9664\u8d44\u6e90\u8bb0\u5f55\u3002\u4e00\u4e2a\u66f4\u65b0\u8bf7\u6c42\u53ef\u4ee5\u5305\u542b\u6dfb\u52a0\u6216\u5220\u9664\u591a\u4e2a\u8d44\u6e90\u8bb0\u5f55\u7684\u8bf7\u6c42\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>nsupdate [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

\u2013k keyfile<\/td>\u4ecekeyfile\u6587\u4ef6\u4e2d\u8bfb\u53d6\u5bc6\u94a5\u4fe1\u606f<\/td><\/tr>
-d<\/td>\u8c03\u8bd5\u6a21\u5f0f<\/td><\/tr>
-y<\/td>keyname\u662f\u5bc6\u94a5\u7684\u540d\u79f0,secret\u662f\u4ee5base64\u7f16\u7801\u7684\u5bc6\u94a5<\/td><\/tr>
-v<\/td>\u4f7f\u7528TCP\u534f\u8bae\u8fdb\u884cnsupdate.\u9ed8\u8ba4\u662f\u4f7f\u7528UDP\u534f\u8bae<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u4f7f\u7528TCP\u534f\u8bae\u8fdb\u884cnsupdate\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# nsupdate -v<\/pre>\n\n\n\n

\u4ecekeyfile\u6587\u4ef6\u4e2d\u8bfb\u53d6\u5bc6\u94a5\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# nsupdate -k keyfile<\/pre>\n\n\n\n

\u5728\u8c03\u8bd5\u6a21\u5f0f\u4e0b\u64cd\u4f5c\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# nsupdate -d<\/pre>\n","protected":false},"excerpt":{"rendered":"

nsupdate\u5b9e\u7528\u7a0b\u5e8f\u7528\u4e8e\u5411\u540d\u79f0\u670d\u52a1\u5668\u63d0\u4ea4 RFC2136 \u4e2d\u5b9a\u4e49\u7684\u52a8\u6001 DNS \u66f4\u65b0\u8bf7\u6c42\u3002\u8fd9\u5141\u8bb8\u5728\u65e0\u9700\u624b\u52a8 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8538"}],"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=8538"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8538\/revisions"}],"predecessor-version":[{"id":8542,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8538\/revisions\/8542"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=8538"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=8538"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=8538"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}