{"id":4890,"date":"2019-08-30T23:59:16","date_gmt":"2019-08-30T15:59:16","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=4890"},"modified":"2019-08-30T23:59:17","modified_gmt":"2019-08-30T15:59:17","slug":"dnsconf","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/dnsconf","title":{"rendered":"dnsconf\u547d\u4ee4 – \u8bbe\u7f6eDNS\u670d\u52a1\u5668\u7ec4\u6001"},"content":{"rendered":"\n

dnsconf\u547d\u4ee4\u5b9e\u9645\u4e0a\u4e3alinuxconf\u7684\u7b26\u53f7\u8fde\u63a5\uff0c\u63d0\u4f9b\u56fe\u5f62\u7684\u64cd\u4f5c\u65b9\u5f0f\uff0c\u4f9b\u7ba1\u7406\u5458\u7ba1\u7406DNS\u670d\u52a1\u5668\u3002 <\/p>\n\n\n\n

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

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
--deldomain<\/td>\u5220\u9664\u57df <\/td><\/tr>
--delsecondary<\/td>\u5220\u9664\u6b21\u7ea7\u57df<\/td><\/tr>
--newdomain<\/td>\u65b0\u589e\u57df<\/td><\/tr>
--set<\/td>\u65b0\u589e\u4e3b\u673a\u8bb0\u5f55<\/td><\/tr>
--setcname<\/td>\u8bbe\u7f6eNAME<\/td><\/tr>
--unset<\/td>\u5220\u9664DNS\u4e2d\u67d0\u53f0\u4e3b\u673a\u7684\u8bb0\u5f55 <\/td><\/tr><\/tbody><\/table>\n\n\n\n

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

\u5220\u9664\u57df\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# dnsconf --deldomain www.linuxcool.com<\/pre>\n\n\n\n

\u65b0\u589e\u4e3b\u673a\u8bb0\u5f55\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# dnsconf --set www.linuxcool.com 1.1.1.1 <\/pre>\n\n\n\n

<\/p>\n","protected":false},"excerpt":{"rendered":"

dnsconf\u547d\u4ee4\u5b9e\u9645\u4e0a\u4e3alinuxconf\u7684\u7b26\u53f7\u8fde\u63a5\uff0c\u63d0\u4f9b\u56fe\u5f62\u7684\u64cd\u4f5c\u65b9\u5f0f\uff0c\u4f9b\u7ba1\u7406\u5458\u7ba1\u7406DNS\u670d\u52a1\u5668\u3002 \u8bed\u6cd5\u683c […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4890"}],"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=4890"}],"version-history":[{"count":6,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4890\/revisions"}],"predecessor-version":[{"id":4929,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4890\/revisions\/4929"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=4890"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=4890"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=4890"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}