{"id":7813,"date":"2024-03-14T19:35:09","date_gmt":"2024-03-14T11:35:09","guid":{"rendered":"https:\/\/white-night.club\/?p=7813"},"modified":"2024-03-14T19:50:09","modified_gmt":"2024-03-14T11:50:09","slug":"book4-7","status":"publish","type":"post","link":"https:\/\/white-night.club\/index.php\/2024\/03\/14\/book4-7\/","title":{"rendered":"7.\u300a\u56fe\u89e3\u4e91\u8ba1\u7b97\u67b6\u6784\uff1a\u57fa\u7840\u8bbe\u65bd\u548cAPI\u300b(2020) \u4f5c\u8005\uff1a[\u65e5]\u5e73\u5c71\u6bc5"},"content":{"rendered":"\n<p>\u4e00\u4e2aFQDN\u5bf9\u5e94\u591a\u4e2aIP\u5730\u5740\u7684\u914d\u7f6e\u9002\u7528\u4e8e\u4f1a\u51fa\u73b0\u5927\u89c4\u6a21\u8bbf\u95ee\u7684\u573a\u666f\u3002\u7531\u4e8e\u4e00\u4e2aIP\u5730\u5740\uff08\u4e00\u53f0\u670d\u52a1\u5668\u6216\u4e00\u53f0\u8d1f\u8f7d\u5747\u8861\u5668\uff09\u6839\u672c\u54cd\u5e94\u4e0d\u8fc7\u6765\u53d1\u9001\u7ed9FQDN\u7684\u5927\u91cfAPI\u8bf7\u6c42\uff0c\u6240\u4ee5\u6211\u4eec\u4f1a\u5148\u5c06\u591a\u4e2a\u4e0eFQDN\u5bf9\u5e94\u7684IP\u5730\u5740\u5f55\u5165\u5230DNS\u4e2d\u3002\u8fd9\u6837\u4e00\u6765\uff0cDNS\u5c31\u4f1a\u8f6e\u6d41\u4ece\u591a\u4e2aIP\u5730\u5740\u4e2d\u8fd4\u56de\u4e00\u4e2aIP\u5730\u5740\uff0c\u5355\u53f0\u670d\u52a1\u5668\u4e0a\u7684\u8d1f\u8f7d\u4e5f\u80fd\u5f97\u4ee5\u7f13\u89e3\u3002\u8fd9\u79cd\u673a\u5236\u79f0\u4e3aDNS\u5faa\u73af\u590d\u7528\uff08round-robin DNS\uff09\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-foreground-color has-text-color has-background has-medium-font-size\" style=\"border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-style:none;border-bottom-width:0px;border-left-color:#04c8dc;border-left-width:5px;background-color:#c6faff;margin-bottom:var(--wp--preset--spacing--30)\"><code>\u65f6\u95f4\u7247\u8f6e\u8f6c\uff1a\u4f60\u4e5f\u662fround-robin\uff1f\n\u8bf6\uff0cHA\u3002\u8bf6\uff0c\u8d1f\u8f7d\u5747\u8861\u3002\u8bf6\uff0cIP\u6c60\u3002\u770b\u5230\u8fd9\u8111\u6d77\u4e2d\u603b\u80fd\u60f3\u5230\u8fd9\u4e09\u4e2a\u8bcd\u3002<\/code><\/pre>\n\n\n\n<p>\u5728\u4e91\u8ba1\u7b97\u67b6\u6784\u4e2d\uff0c\u6211\u4eec\u5373\u5c06\u8bb2\u89e3\u7684CDN\uff08Contents Delivery Network\uff0c\u5185\u5bb9\u5206\u53d1\u7f51\u7edc\uff09\u548c\u8d1f\u8f7d\u5747\u8861\u5668\uff08LB\uff0cLoad Balancer\uff09\u5c31\u5229\u7528DNS\u7684\u5faa\u73af\u590d\u7528\u673a\u5236\u786e\u4fdd\u4e86\u53ef\u62d3\u5c55\u6027\u3002\u5728\u7ba1\u7406\u670d\u52a1\u7b49\u65b9\u9762\uff0cDNS\u5faa\u73af\u590d\u7528\u8fd8\u53d1\u6325\u4e86\u5c06IP\u5730\u5740\u7684\u53d8\u66f4\u5de7\u5999\u5730\u9690\u85cf\u8d77\u6765\u7684\u4f5c\u7528\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-foreground-color has-text-color has-background has-medium-font-size\" style=\"border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-style:none;border-bottom-width:0px;border-left-color:#04c8dc;border-left-width:5px;background-color:#c6faff;margin-bottom:var(--wp--preset--spacing--30)\"><code>CDN\u548cLB\u5012\u662f\u5f88\u597d\u7406\u89e3\u3002\u4f46\u662f\u548c\u201c\u9690\u85cfIP\u5730\u5740\u201d\u53c8\u6709\u4ec0\u4e48\u5173\u7cfb\ud83e\udd14\u4ed4\u7ec6\u60f3\u4e86\u60f3\u8bf4\u7684\u5e94\u8be5\u662f\uff1a\u57df\u540d\u4e0d\u53d8\uff0c\u670d\u52a1\u5668\/IP\u53d8\u7684\u60c5\u51b5\u3002\u8fd9\u6837\u7528\u6237\u8bbf\u95ee\u7684\u8fd8\u662f\u90a3\u4e2a\u7f51\u7ad9\uff0c\u4f46\u662f\u80cc\u540e\u7684IP\u5b9e\u9645\u4e0a\u5df2\u7ecf\u66f4\u6539\u4e86\uff0c\u5bfb\u601d\u5730\u5e94\u8be5\u662f\u8fd9\u4e48\u4e2a\u610f\u601d\u3002<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>P60 DNS\u5faa\u73af\u590d\u7528<\/p>\n","protected":false},"author":1,"featured_media":4344,"comment_status":"open","ping_status":"","sticky":false,"template":"base","format":"standard","meta":{"footnotes":""},"categories":[119,107],"tags":[120,112],"_links":{"self":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts\/7813"}],"collection":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/comments?post=7813"}],"version-history":[{"count":0,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts\/7813\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/media\/4344"}],"wp:attachment":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/media?parent=7813"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/categories?post=7813"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/tags?post=7813"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}