{"id":149207,"date":"2019-07-07T08:19:17","date_gmt":"2019-07-07T00:19:17","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=149207"},"modified":"2019-06-26T10:20:34","modified_gmt":"2019-06-26T02:20:34","slug":"dns-socket","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/dns-socket.html","title":{"rendered":"\u57fa\u4e8e\u9690\u79c1\u4fdd\u62a4\u6280\u672f\u7684DNS\u901a\u4fe1\u534f\u8bae\u4ecb\u7ecd"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u672c\u6587\u63d0\u51fa\u4e86\u4e00\u79cd\u57fa\u4e8e\u7528\u6237\u6570\u636e\u62a5\u534f\u8bae\u7684DNS\u4f20\u8f93\u4e2d\u7528\u6237\u9690\u79c1\u4fdd\u62a4\u7684\u52a0\u5bc6\u65b9\u6cd5\uff1aDNSDEA\u3002\u8be5\u65b9\u6cd5\u91c7\u7528PKI\u52a0\u5bc6\u4f53\u7cfb\u4e0eDNS\u534f\u8bae\u76f8\u878d\u5408\uff0c\u4e0d\u4ec5\u89e3\u51b3\u4e86\u57df\u540d\u9690\u79c1\u4fdd\u62a4\u95ee\u9898\uff0c\u800c\u4e14\u4e0e\u4f20\u7edfDNS\u4f53\u7cfb\u76f8\u517c\u5bb9\uff0c\u4fdd\u6301\u4e86DNS\u7cfb\u7edf\u7684\u7b80\u5355\u3001\u9ad8\u6548\u7684\u6280\u672f\u7279\u70b9\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n \u57df\u540d\u7cfb\u7edf(DNS)\u662f\u4e92\u8054\u7f51\u57fa\u7840\u670d\u52a1\uff0c\u662f\u4e92\u8054\u7f51\u8bbf\u95ee\u7684\u91cd\u8981\u5165\u53e3\uff0c\u57df\u540d\u9690\u79c1\u4fdd\u62a4\u662f DNS\u5b89\u5168\u7684\u7814\u7a76\u70ed\u70b9\u3002\u672c\u6587\u63d0\u51fa\u4e86\u4e00\u79cd\u57fa\u4e8e\u7528\u6237\u6570\u636e\u62a5\u534f\u8bae\u7684DNS\u4f20\u8f93\u4e2d\u7528\u6237\u9690\u79c1\u4fdd\u62a4\u7684\u52a0\u5bc6\u65b9\u6cd5\uff1aDNSDEA\u3002\u8be5\u65b9\u6cd5\u91c7\u7528PKI\u52a0\u5bc6\u4f53\u7cfb\u4e0eDNS\u534f\u8bae\u76f8\u878d\u5408\uff0c\u4e0d\u4ec5\u89e3\u51b3\u4e86\u57df\u540d\u9690\u79c1\u4fdd\u62a4\u95ee\u9898\uff0c\u800c\u4e14\u4e0e\u4f20\u7edfDNS\u4f53\u7cfb\u76f8\u517c\u5bb9\uff0c\u4fdd\u6301\u4e86DNS\u7cfb\u7edf\u7684\u7b80\u5355\u3001\u9ad8\u6548\u7684\u6280\u672f\u7279\u70b9\u3002 1983 \u5e74\uff0cMockapetris\u63d0\u51fa DNS \u67b6\u6784\uff0c\u968f\u540e\u8be5\u6784\u67b6\u5728\u4e0d\u65ad\u5730\u6301\u7eed\u6f14\u8fdb\u548c\u4f18\u5316\u3002\u5728\u8bbe\u8ba1\u4e4b\u521d\uff0c\u57df\u540d\u7cfb\u7edf\u5728\u57df\u540d\u534f\u8bae\u65b9\u9762\u5e76\u6ca1\u6709\u8003\u8651\u5b8c\u5907\u7684\u5b89\u5168\u673a\u5236\u30021999\u5e74\uff0cDNS\u5b89\u5168\u6269\u5c55\u534f\u8bae(domain name system security extensions\uff0cDNSSEC)\u88ab\u63d0\u51fa\uff0c\u5176\u80fd\u591f\u6709\u6548\u964d\u4f4e\u4e2d\u95f4\u4eba\u653b\u51fb\u7684\u98ce\u9669\uff0c\u4fdd\u8bc1 DNS\u4f20\u8f93\u6570\u636e\u7684\u5b8c\u6574\u6027\uff0c\u4ece\u800c\u63d0\u5347 DNS\u7cfb\u7edf\u7684\u5b89\u5168\u670d\u52a1\u80fd\u529b\u30022010\u5e74\uff0c\u4e92\u8054\u7f51\u57df\u540d\u7684\u6839\u670d\u52a1\u5f00\u59cb\u90e8\u7f72 DNSSEC\u670d\u52a1\uff0c\u6807\u5fd7\u7740\u57df\u540d\u670d\u52a1\u5f00\u59cb\u5411\u5b89\u5168\u670d\u52a1\u65b9\u5411\u8fc8\u8fdb\uff0cDNS \u4e5f\u4ece\u4e00\u4e2a\u7b80\u5355\u7684\u540d\u5740\u8f6c\u6362\u670d\u52a1\u5411\u590d\u6742\u7684\u3001\u53ef\u4fe1\u7684\u89e3\u6790\u670d\u52a1\u53d1\u5c55\uff0c\u4f20\u8f93\u5c42\u5b89\u5168\u534f\u8baeDANE(DNS-based authentication of named entities)\u5c31\u662f\u57fa\u4e8e DNSSEC\u534f\u8bae\u5c06\u6570\u5b57\u8bc1\u4e66\u901a\u8fc7 DNS\u670d\u52a1\u8fdb\u884c\u53d1\u5e03\uff0c\u4ee5\u786e\u4fdd\u8bc1\u4e66\u6765\u81ea\u7279\u5b9a\u7684\u8bc1\u4e66\u9881\u53d1\u673a\u6784\u3002<\/p>\n \u968f\u7740\u4e92\u8054\u7f51\u666e\u53ca\u7387\u7684\u4e0d\u65ad\u63d0\u9ad8\u53ca\u5176\u5bf9\u751f\u4ea7\u751f\u6d3b\u7684\u4e0d\u65ad\u6e17\u900f\uff0c\u4eba\u4eec\u5df2\u7ecf\u5bf9\u4e92\u8054\u7f51\u4ea7\u751f\u4e86\u8d8a\u6765\u8d8a\u5f3a\u7684\u4f9d\u8d56\u6027\uff0c\u5f53\u524d\u7684\u4e92\u8054\u7f51\u5df2\u4e0d\u4ec5\u662f\u83b7\u53d6\u548c\u5206\u4eab\u4fe1\u606f\u7684\u9014\u5f84\uff0c\u800c\u4e14\u5df2\u6210\u4e3a\u5927\u591a\u6570\u4f20\u7edf\u884c\u4e1a\u4e1a\u52a1\u7cfb\u7edf\u7684\u57fa\u7840\u8f7d\u4f53\uff0c\u56e0\u6b64\u9690\u79c1\u95ee\u9898\u5df2\u7ecf\u6210\u4e3a\u4e92\u8054\u7f51\u4e9f\u5f85\u89e3\u51b3\u7684\u4e00\u4e2a\u91cd\u8981\u95ee\u9898\u3002DNS \u4e3b\u8981\u91c7\u7528\u7528\u6237\u6570\u636e\u62a5\u534f\u8bae(user datagram protocol\uff0cUDP)\u534f\u8bae\u660e\u6587\u4f20\u8f93\u65b9\u5f0f\u8fdb\u884c\u540d\u5740\u8f6c\u6362\uff0c\u867d\u7136DNSSEC\u534f\u8bae\u63d0\u5347\u4e86\u6570\u636e\u7be1\u6539\u96be\u5ea6\uff0c\u4f46\u662f\u4f9d\u7136\u91c7\u7528\u660e\u6587\u65b9\u5f0f\u63d0\u4f9b\u89e3\u6790\u670d\u52a1\u3002\u4f5c\u4e3a\u4e92\u8054\u7f51\u57fa\u7840\u670d\u52a1\uff0cDNS \u5bf9\u4e8e\u7528\u6237\u9690\u79c1\u4fdd\u62a4\u4f9d\u7136\u8868\u73b0\u51fa\u4e86\u8106\u5f31\u6027\u3002\u76ee\u524d DNS \u6709\u5173\u5b89\u5168\u7684\u547d\u9898\u88ab\u771f\u6b63\u89e3\u51b3\u5f97\u8fd8\u8f83\u5c11\uff0c\u800c\u5176\u4e2d\u7684\u9690\u79c1\u95ee\u9898\u4e5f\u5df2\u6210\u4e3a\u884c\u4e1a\u5173\u6ce8\u7684\u7126\u70b9\u95ee\u9898\u5e76\u9010\u6e10\u5f97\u5230\u91cd\u89c6\u3002\u4e00\u65b9\u9762\uff0c\u884c\u4e1a\u5185\u91c7\u7528\u67e5\u8be2\u6700\u5c0f\u5316(query minimization)\u65b9\u6cd5\u964d\u4f4e\u9690\u79c1\u7a83\u53d6\u98ce\u9669\uff0c\u4f7f\u7528\u6570\u636e\u6700\u5c0f\u5316(data minimization)\u539f\u7406\u51cf\u5c11 DNS\u6743\u5a01\u670d\u52a1\u6536\u96c6\u4e2a\u4eba\u9690\u79c1\u4fe1\u606f;\u53e6\u4e00\u65b9\u9762\uff0c\u9488\u5bf9 DNS\u89e3\u6790\u670d\u52a1\u8fc7\u7a0b\u4e2d\u9690\u79c1\u6cc4\u9732\u7684\u95ee\u9898\uff0c\u56fd\u9645\u7ec4\u7ec7Internet Engineering Task Force(IETF)\u4e8e2014\u5e74\u4e13\u95e8\u6210\u7acb The DNS PRIVate Exchange(DPRIVE)\u5de5\u4f5c\u7ec4\u8ba8\u8bba\u5e76\u5236\u5b9a DNS \u9690\u79c1\u4fdd\u62a4\u534f\u8bae\uff0c\u5e0c\u671b\u91c7\u7528\u6570\u636e\u52a0\u5bc6\u4f20\u8f93\u7684\u65b9\u5f0f\u5b9e\u73b0 DNS\u9690\u79c1\u4fdd\u62a4\u3002\u57fa\u4e8e\u6b64\u80cc\u666f\uff0c\u672c\u6587\u63d0\u51fa\u4e00\u79cd\u57fa\u4e8eUDP\u7684DNS\u4f20\u8f93\u4e2d\u7528\u6237\u9690\u79c1\u4fdd\u62a4\u7684\u52a0\u5bc6\u65b9\u6cd5\u3002<\/p>\n \u7814\u7a76\u73b0\u72b6<\/strong><\/div>\n \u5f53\u524d\uff0c\u7edd\u5927\u591a\u6570 DNS \u670d\u52a1\u548c\u7ec8\u7aef\u4e4b\u95f4\u7684\u6570\u636e\u4ea4\u6362(\u4e3b\u8981\u5305\u542b\u8bf7\u6c42\u548c\u53cd\u9988)\u91c7\u7528\u660e\u6587\u3001\u975e\u52a0\u5bc6\u7684\u65b9\u5f0f\u8fdb\u884c\uff0c\u8fd9\u5c06\u5bfc\u81f4\u7528\u6237\u9690\u79c1\u66b4\u9732\u5728\u4e92\u8054\u7f51\u901a\u4fe1\u4e2d\uff0c\u5176\u9690\u79c1\u65b9\u9762\u7684\u8106\u5f31\u6027\u5c06\u4f1a\u88ab\u9ed1\u5ba2\u6240\u5229\u7528\uff0c\u4f8b\u5982\u9ed1\u5ba2\u53ef\u4ee5\u6536\u96c6\u7528\u6237\u7684\u8bbf\u95ee\u75d5\u8ff9(\u67e5\u8be2\u65f6\u95f4\u3001\u8bbf\u95ee\u5185\u5bb9\u3001\u7528\u6237IP\u5730\u5740\u7b49)\u7b49\u4fe1\u606f\u5206\u6790\u7528\u6237\u4e60\u60ef\u7b49\u3002\u9488\u5bf9\u8fd9\u4e2a\u95ee\u9898\uff0c\u76ee\u524d\u4e3b\u8981\u6709\u4ee5\u4e0b\u4e24\u79cd\u65b9\u6cd5\u4fdd\u62a4DNS\u67e5\u8be2\u8fc7\u7a0b\u4e2d\u7684\u7528\u6237\u9690\u79c1\u3002<\/p>\n DNS\u6570\u636e\u62a5\u6587\u52a0\u5bc6<\/strong><\/div>\n Dempsky \u63d0\u51fa\u4e86 DNSCurve \u65b9\u6cd5\uff0c\u8be5\u65b9\u6cd5\u57fa\u4e8e\u73b0\u6709 DNS \u4f53\u7cfb\u67b6\u6784\uff0c\u4f7f\u7528Curve25519 \u5728\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u7aef\u4ea4\u6362\u5bc6\u94a5\u4ee5\u53ca\u63d0\u4f9b\u8ba4\u8bc1\u548c\u6570\u636e\u52a0\u5bc6\u3002\u670d\u52a1\u7aef\u7684\u516c\u94a5\u5b58\u653e\u5728\u201cNS\u201d\u8bb0\u5f55\u4e2d\u53d1\u9001\u7ed9\u5ba2\u6237\u7aef\uff0c\u56e0\u6b64\u4f7f\u7528 DNSCurve\u52a0\u5bc6DNS\u62a5\u6587\u5e76\u4e0d\u4f1a\u5e26\u6765\u989d\u5916\u67e5\u8be2\u5ef6\u8fdf\u3002DNSCrypt\u662fDNSCurve\u6bd4\u8f83\u6709\u540d\u7684\u4e00\u4e2a\u5b9e\u73b0\uff0c\u5df2\u5728 OpenDNS\u7684\u670d\u52a1\u4e0a\u5f97\u5230\u5e7f\u6cdb\u90e8\u7f72\uff0c\u7528\u6765\u89e3\u51b3\u7ec8\u7aef\u7528\u6237\u7684\u9690\u79c1\u4fdd\u62a4\u95ee\u9898\u3002\u7c7b\u4f3c\u7684ConfidentialDNS\u4e5f\u4f7f\u7528\u4e86 DNS\u7684\u6269\u5c55\u673a\u5236\u4e3a DNS\u534f\u8bae\u589e\u52a0\u52a0\u5bc6\u529f\u80fd\u3002\u5b83\u63d0\u51fa\u4e00\u79cd\u65b0\u7684\u8d44\u6e90\u8bb0\u5f55\u7c7b\u578b\u201cENCRYPT\u201d\u6765\u4f20\u9001 DNS\u670d\u52a1\u5668\u7684\u516c\u94a5\u5230\u5ba2\u6237\u7aef\u3002\u7136\u540e\u5ba2\u6237\u7aef\u4f7f\u7528\u670d\u52a1\u5668\u516c\u94a5\u52a0\u5bc6 DNS \u67e5\u8be2\u8bf7\u6c42\uff0c\u4ee5\u53ca\u7528\u6765\u52a0\u5bc6 DNS\u54cd\u5e94\u7684\u5ba2\u6237\u7aef\u516c\u94a5\uff0c\u4ece\u800c\u5b9e\u73b0\u5bf9 DNS\u8bf7\u6c42\u548c\u53cd\u9988\u6570\u636e\u8fdb\u884c\u52a0\u5bc6\u4fdd\u62a4\u3002\u8fd9\u4e24\u79cd\u65b9\u6848\u867d\u7136\u80fd\u6709\u6548\u89e3\u51b3DNS \u660e\u6587\u4f20\u8f93\u6240\u5e26\u6765\u7684\u8106\u5f31\u6027\u95ee\u9898\uff0c\u4f46\u662f\u9700\u8981\u5728DNS\u901a\u4fe1\u4e24\u7aef\u90fd\u90e8\u7f72\u5b89\u88c5\u63d2\u4ef6(\u6216\u5347\u7ea7\u89e3\u6790\u8f6f\u4ef6)\u5b9e\u73b0DNS\u901a\u4fe1\u4ece\u660e\u6587\u5230\u5bc6\u6587\u7684\u76ee\u6807\uff0c\u63a8\u5e7f\u6210\u672c\u8f83\u5927\uff0c\u6240\u4ee5\u76ee\u524d\u4f7f\u7528\u5e76\u4e0d\u5e7f\u6cdb\u3002<\/p>\n DNS\u901a\u4fe1\u94fe\u8def\u52a0\u5bc6<\/strong><\/div>\n TLS(transport layer security)\u662f\u4e00\u79cd\u4e3a\u7f51\u7edc\u901a\u4fe1\u63d0\u4f9b\u6570\u636e\u4fdd\u5bc6\u4ee5\u53ca\u5b8c\u6574\u6027\u7684\u5b89\u5168\u534f\u8bae\uff0c\u5b83\u5728\u4f20\u8f93\u5c42\u5bf9\u7f51\u7edc\u8fde\u63a5\u8fdb\u884c\u52a0\u5bc6\u3002\u76ee\u524d TLS \u6700\u5e38\u89c1\u7684\u4e00\u79cd\u5e94\u7528\u662fHTTPS\u534f\u8bae\uff0c\u5b83\u4f7f\u7528\u516c\u94a5\u52a0\u5bc6\u5bf9\u7f51\u7ad9\u8fdb\u884c\u8ba4\u8bc1\uff0c\u540c\u65f6\u4f7f\u7528\u5bf9\u79f0\u52a0\u5bc6\u5bf9\u6570\u636e\u4f20\u8f93\u8fdb\u884c\u52a0\u5bc6\u3002TLS\u9700\u8981 TCP\u534f\u8bae\u6765\u4fdd\u8bc1\u4fe1\u9053\u7684\u53ef\u9760\u4f20\u8f93\uff0c\u4e0d\u80fd\u76f4\u63a5\u7528\u6765\u52a0\u5bc6\u4fdd\u62a4 UDP\u534f\u8bae\u7684\u6570\u636e\uff0c\u5982\u679c DNS\u5e0c\u671b\u4f7f\u7528 TLS\u52a0\u5bc6\u4fdd\u62a4\u6570\u636e\uff0c\u5c31\u5fc5\u987b\u4f7f\u7528 TCP\u534f\u8bae\u3002\u7136\u800c\u73b0\u72b6\u662f\u7edd\u5927\u90e8\u5206\u7684 DNS\u67e5\u8be2\u4f7f\u7528 UDP\u534f\u8bae\uff0c\u5207\u6362\u4e3a TCP\u534f\u8bae\u662f\u4e00\u4e2a\u957f\u671f\u7684\u8fc7\u7a0b\uff0c\u5e76\u4e14\u4ee3\u4ef7\u5de8\u5927\u3002\u56e0\u6b64\uff0c\u5c31\u73b0\u9636\u6bb5\u6765\u8bf4\uff0cDNS-over-TLS\u5e76\u4e0d\u662f\u4e00\u4e2a\u53ef\u884c\u7684\u9690\u79c1\u4fdd\u62a4\u65b9\u6848\u3002<\/p>\n DTLS(datagram transport layer security)\u6570\u636e\u5305\u4f20\u8f93\u5c42\u5b89\u5168\u534f\u8bae\u662f\u5728TLS\u67b6\u6784\u4e0a\u63d0\u51fa\u7684\u4e00\u79cd\u6269\u5c55\uff0c\u80fd\u591f\u652f\u6301 UDP \u534f\u8bae\u3002DTLS \u4f7f\u5f97\u76f4\u63a5\u52a0\u5bc6 UDP \u534f\u8bae\u7684 DNS \u67e5\u8be2\u62a5\u6587\u53d8\u5f97\u53ef\u884c\u3002IETF\u8349\u6848\u63d0\u51fa\u7684DNS-over-DTLS\u8be6\u7ec6\u63cf\u8ff0\u4e86\u5982\u4f55\u4f7f\u7528DTLS\u6280\u672f\u52a0\u5bc6DNS\u62a5\u6587\u3002<\/p>\n DNS-over-TLS \u548c DNS-over-DTLS \u4f7f\u7528\u4e92\u8054\u7f51\u6807\u51c6\u534f\u8bae TLS \u548c DTLS \u6765\u5b9e\u73b0 DNS \u5bc6\u6587\u901a\u4fe1\u3002\u8fd9\u4e24\u79cd\u65b9\u6cd5\u90fd\u662f\u91c7\u7528 TLS \u534f\u8bae\u8fdb\u884c DNS \u6539\u8fdb\uff0c\u4f46\u8be5\u65b9\u6cd5\u9700\u8981\u5728\u901a\u4fe1\u4e4b\u524d\u9700\u8981\u5efa\u7acb\u63e1\u624b\u3001\u8ba4\u8bc1\u7b49\u4e00\u7cfb\u5217\u590d\u6742\u7f51\u7edc\u901a\u4fe1\u624d\u80fd\u5b9e\u73b0\uff0c\u5bf9\u4e8e\u8bbf\u95ee\u91cf\u5de8\u5927\u3001\u5f00\u9500\u76f8\u5bf9\u8f83\u5c0f\u7684 DNS\u670d\u52a1\u63d0\u51fa\u4e86\u8f83\u9ad8\u7684\u7f51\u7edc\u5f00\u9500\u548c\u6027\u80fd\u8981\u6c42\u3002<\/p>\n \u4e0a\u8ff0\u4e24\u79cd\u65b9\u6cd5\u5bf9\u4e8e\u5ef6\u8fdf\u654f\u611f\u3001\u9ad8\u541e\u5410\u91cf\u7684\u4e92\u8054\u7f51\u57fa\u7840\u670d\u52a1DNS\u6765\u8bf4\uff0c\u90fd\u5e26\u6765\u4e86\u8f83\u5927\u6311\u6218\u3002<\/p>\n DNS\u5bc6\u6587\u901a\u4fe1\u65b9\u6cd5<\/strong><\/div>\n \u63d0\u51fa\u4e86\u4e00\u79cd\u65b0\u7684 DNS\u52a0\u5bc6\u901a\u4fe1\u65b9\u6cd5DNSDEA(DNS data encryption algorithm)\uff0c\u8be5\u65b9\u6cd5\u5728\u73b0\u6709 DNS\u67b6\u6784\u548c\u62a5\u6587\u683c\u5f0f\u4e0b\u91c7\u7528\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u7684\u5bc6\u6587\u65b9\u5f0f\u901a\u4fe1\u3002\u901a\u8fc7DNS\u67e5\u8be2\u4f20\u8f93\u5ba2\u6237\u7aef\u7684\u516c\u94a5\uff0c\u4ee5\u964d\u4f4e\u57fa\u4e8eTLS\u7b49\u65b9\u6cd5\u5efa\u7acb\u94fe\u63a5\u7684\u5f00\u9500\uff0c\u51cf\u4f4e\u67e5\u8be2\u5ef6\u65f6\u3002\u540c\u65f6\uff0c\u5229\u7528\u5176\u65e0\u72b6\u6001\u7279\u6027\u63d0\u9ad8\u670d\u52a1\u7aef\u7684\u5e76\u53d1\u6027\u3002<\/p>\n \u62a5\u6587\u7ed3\u6784<\/strong><\/div>\n 1)\u52a0\u5bc6\u6807\u8bb0\u4f4d\u3002\u4e3a\u6807\u8bb0\u4e00\u4e2a DNS \u62a5\u6587\u662f\u5426\u4e3a\u52a0\u5bc6\u62a5\u6587\uff0c\u5c06 DNS \u62a5\u6587\u5934\u90e8\u540e\u7684\u7b2c\u4e00\u4e2a\u5b57\u8282\u5b9a\u4f4d\u4e3a\u52a0\u5bc6\u6807\u8bb0\u4f4d\u3002\u5bf9\u4e8e\u4e00\u4e2a\u6b63\u5e38\u7684\u672a\u52a0\u5bc6 DNS \u62a5\u6587\uff0c\u8be5\u5b57\u8282\u8868\u793a\u67e5\u8be2\u57df\u540d\u7b2c\u4e00\u6bb5\u7684\u957f\u5ea6\uff0c\u6309\u7167\u4e92\u8054\u7f51\u534f\u8bae\u6807\u51c6(request for comments\uff0cRFC)\uff0c\u957f\u5ea6\u5e94\u5c0f\u4e8e 64\u3002\u5c06\u8be5\u5b57\u8282\u62d3\u5c55\u4e3a\u52a0\u5bc6\u6807\u8bb0\u4f4d\uff0c\u82e5\u8be5\u5b57\u8282\u5c0f\u4e8e 64\uff0c\u8868\u793a DNS\u62a5\u6587\u4e3a\u975e\u52a0\u5bc6\u62a5\u6587\uff0c\u82e5\u5927\u4e8e64\uff0c\u8868\u793a\u8be5\u62a5\u6587\u4e3a\u52a0\u5bc6\u62a5\u6587\u3002<\/p>\n 2)\u5bc6\u94a5\u683c\u5f0f\u3002DNSDEA \u91c7\u7528\u975e\u5bf9\u79f0\u52a0\u5bc6\u65b9\u6cd5\uff0c\u5728 DNS \u7ec8\u7aef\u548cDNS \u670d\u52a1\u7aef\u5206\u522b\u72ec\u7acb\u751f\u6210\u901a\u4fe1\u5bc6\u94a5\u5bf9(\u542b\u516c\u94a5\u548c\u79c1\u94a5)\u3002DNS \u670d\u52a1\u7aef\u7684\u516c\u94a5\u901a\u8fc7\u73b0\u6709\u7684\u8bc1\u4e66\u9881\u53d1\u67b6\u6784(certificate authority infrastructure)\u53d1\u5e03\uff0c\u4f7f\u7528\u8be5 DNS \u670d\u52a1\u7aef\u7684\u5ba2\u6237\u9700\u624b\u52a8\u914d\u7f6e\u8be5\u516c\u94a5\u3002DNS\u5ba2\u6237\u7aef\u4f7f\u7528\u7684\u5bc6\u94a5\u5728\u67e5\u8be2\u8fc7\u51b2\u4e2d\u4e34\u65f6\u751f\u6210\u3002\u8003\u8651\u5230\u67e5\u8be2\u6548\u7387\u7b49\u56e0\u7d20\uff0cDNS\u5ba2\u6237\u7aef\u5bc6\u94a5\u5728\u4e00\u6bb5\u65f6\u95f4\u5185\u53ef\u91cd\u590d\u4f7f\u7528\u3002<\/p>\n \u5ba2\u6237\u7aef\u7684\u516c\u94a5\u7531\u5ba2\u6237\u7aef\u5728DNS \u62a5\u6587\u7684\u9644\u52a0\u6bb5\u4ee5EDNS0 \u683c\u5f0f\u6dfb\u52a0\uff0c\u901a\u8fc7 DNS \u67e5\u8be2\u53d1\u9001\u7ed9 DNS \u670d\u52a1\u7aef\u3002\u5177\u4f53\u683c\u5f0f\u5982\u56fe1\u6240\u793a\u3002 \u52a0\u5bc6\u67e5\u8be2\u65b9\u6cd5<\/strong><\/div>\n \u4f7f\u7528 DNSDEA \u65b9\u6cd5\u65f6\uff0cDNS \u7ec8\u7aef\u9700\u8981\u624b\u52a8\u914d\u7f6eDNS\u670d\u52a1\u7aef\u7684\u516c\u94a5\u3002\u670d\u52a1\u7aef\u7684\u516c\u94a5\u53ef\u901a\u8fc7 PKI\u4f53\u7cfb\u8fdb\u884c\u9a8c\u8bc1\u3002\u5728 DNS\u7ec8\u7aef\u5411 DNS\u670d\u52a1\u7aef\u53d1\u9001\u67e5\u8be2\u8bf7\u6c42\u65f6\uff0c\u4f7f\u7528 DNS \u670d\u52a1\u7aef\u7684\u516c\u94a5\u5bf9\u8bf7\u6c42\u8d44\u6e90\u8bb0\u5f55(RRset)\u8fdb\u884c\u52a0\u5bc6\uff0c\u5c06DNS\u7ec8\u7aef\u7684\u516c\u94a5\u5236\u4f5c\u6210RRset\u5e76\u4f7f\u7528DNS\u670d\u52a1\u7aef\u7684\u516c\u94a5\u5c06\u5176\u52a0\u5bc6\uff0c\u751f\u6210 DNS \u62a5\u6587\u683c\u5f0f\u6570\u636e\uff0c\u4f20\u8f93\u7ed9DNS\u670d\u52a1\u7aef\u3002<\/p>\n DNS \u7ec8\u7aef\u5c06\u6309\u7167 DNS \u534f\u8bae\u8981\u6c42\uff0c\u5c06\u751f\u6210\u7684 DNS \u67e5\u8be2\u62a5\u6587\u53d1\u9001\u7ed9 DNS \u670d\u52a1\u7aef\uff0cDNS\u670d\u52a1\u7aef\u4f7f\u7528\u81ea\u8eab\u79c1\u94a5\u8fdb\u884c\u89e3\u5bc6\u8fd8\u539f\u5f85\u67e5\u8be2\u7684\u57df\u540d\u8bb0\u5f55\u548c DNS\u7ec8\u7aef\u7684\u516c\u94a5\u4fe1\u606f\uff0c\u6309\u7167 DNS\u67e5\u8be2\u903b\u8f91\u5bfb\u627e\u67e5\u8be2\u7ed3\u679c\uff0c\u4f7f\u7528\u8fd8\u539f\u51fa\u6765\u7684DNS\u7ec8\u7aef\u516c\u94a5\u5bf9\u67e5\u8be2\u7ed3\u679c\u8fdb\u884c\u52a0\u5bc6\uff0c\u53d1\u9001\u7ed9DNS\u7ec8\u7aef\u3002<\/p>\n DNS \u7ec8\u7aef\u63a5\u6536\u5230\u5e94\u7b54\u62a5\u6587\u540e\uff0c\u4f7f\u7528\u5176\u79c1\u94a5\u4fe1\u606f\u5c06\u5e94\u7b54\u62a5\u6587\u7684\u5e94\u7b54\u8d44\u6e90\u8bb0\u5f55(RRset)\u8fdb\u884c\u89e3\u5bc6\uff0c\u5e76\u6309\u7167DNS\u534f\u8bae\u8fdb\u884c\u5904\u7406\u3002<\/p>\n \u5177\u4f53\u6d41\u7a0b\u5982\u56fe 4\u6240\u793a\u3002\u4ee5 www.example.com\u67e5\u8be2\u4e3a\u4f8b\uff0c\u5b9e\u73b0\u52a0\u5bc6\u67e5\u8be2\u65b9\u6cd5\uff0c\u4e3b\u8981\u5206\u4ee5\u4e0b\u6b65\u9aa4\uff1a(1)\u670d\u52a1\u7aef\u901a\u8fc7 PKI\u53d1\u5e03\u516c\u94a5\uff0c\u5ba2\u6237\u7aef\u624b\u52a8\u914d\u7f6e\u670d\u52a1\u7aef\u516c\u94a5;(2)\u5ba2\u6237\u7aef\u751f\u6210\u5bc6\u94a5\u5bf9;(3)\u5ba2\u6237\u7aef\u6784\u9020 www.example.com \u7684\u67e5\u8be2\u5305\uff0c\u5c06\u5ba2\u6237\u7aef\u7684\u516c\u94a5\u6dfb\u52a0\u5728\u67e5\u8be2\u5305\u7684\u9644\u52a0\u6bb5\uff0c\u5e76\u7528\u670d\u52a1\u7aef\u516c\u94a5\u52a0\u5bc6\u540e\uff0c\u5c06\u67e5\u8be2\u5305\u53d1\u9001\u7ed9\u670d\u52a1\u7aef;(4)\u670d\u52a1\u7aef\u6536\u5230\u52a0\u5bc6\u7684\u67e5\u8be2\u5305\uff0c\u4f7f\u7528\u670d\u52a1\u7aef\u79c1\u94a5\u89e3\u5bc6\uff0c\u83b7\u53d6 DNS\u67e5\u8be2\u5185\u5bb9\u548c\u5ba2\u6237\u7aef\u516c\u94a5;(5)\u670d\u52a1\u7aef\u6784\u9020www.example.com\u7684\u5e94\u7b54\u5305\uff0c\u5e76\u7528\u5ba2\u6237\u7aef\u7684\u516c\u94a5\u52a0\u5bc6\u540e\uff0c\u5c06\u5e94\u7b54\u5305\u53d1\u9001\u7ed9\u5ba2\u6237\u7aef;(6)\u5ba2\u6237\u7aef\u6536\u5230\u52a0\u5bc6\u7684\u5e94\u7b54\u5305\uff0c\u4f7f\u7528\u5ba2\u6237\u7aef\u79c1\u94a5\u89e3\u5bc6\uff0c\u83b7\u5f97www.example.com\u7684\u5e94\u7b54\u5185\u5bb9\u3002 \u5b9e\u9a8c\u53ca\u5206\u6790<\/strong><\/div>\n \u4e3a\u6d4b\u8bd5 DNSDEA \u7684\u53ef\u884c\u6027\uff0c\u8fdb\u884c\u4e86\u76f8\u5173\u5b9e\u9a8c\uff0c\u5bf9DNSDEA \u548c\u57fa\u4e8e TLS\u3001DTLS \u52a0\u5bc6\u65b9\u6cd5\u7684 DNS \u67e5\u8be2\u8fdb\u884c\u5bf9\u6bd4\uff0c\u4ee5\u9a8c\u8bc1DNSDEA \u7684\u53ef\u884c\u6027\u53ca\u76f8\u5bf9\u4e8e\u76ee\u524d\u8f83\u6d41\u884c\u52a0\u5bc6\u65b9\u6cd5\u7684\u4f4e\u5ef6\u8fdf\u4f18\u52bf\u3002<\/p>\n \u5b9e\u9a8c\u65b9\u6cd5<\/strong><\/div>\n \u7531\u4e8e DNS \u67e5\u8be2\u4e3b\u8981\u901a\u8fc7 UDP \u4f20\u8f93\uff0c\u56e0\u6b64\u5b9e\u9a8c\u4e3b\u8981\u5173\u6ce8 DNSDEA \u548c\u57fa\u4e8e DTLS \u52a0\u5bc6\u65b9\u6cd5\u4e0b DNS \u67e5\u8be2\u5305\u5ef6\u8fdf\u3002\u5b9e\u9a8c\u5206\u522b\u6d4b\u8bd5\u4e86\u4e24\u79cd\u52a0\u5bc6\u65b9\u6cd5\u4f7f\u7528RSA\u548cECC\u7b97\u6cd5\u60c5\u51b5\u4e0b\u4e0d\u540c\u5927\u5c0f\u6570\u636e\u5305\u7684\u6027\u80fd\u8868\u73b0\uff0c\u901a\u8fc7\u53d1\u8d77\u591a\u6b21DNS\u67e5\u8be2\u53d6\u5e73\u5747\u503c\uff0c\u8ba1\u7b97\u5404\u65b9\u6cd5\u4e0bDNS\u67e5\u8be2\u65f6\u5ef6\uff0c\u6bd4\u8f83\u4e24\u79cd\u65b9\u6cd5\u5728DNS\u52a0\u5bc6\u4f7f\u7528\u4e0a\u7684\u7279\u70b9\u3002<\/p>\n \u5b9e\u9a8c\u4f7f\u7528openssl-0.9.8 \u548ccrypto++5.6.5 \u52a0\u5bc6\u5e93\u5b9e\u73b0 RSA\u548c ECDSA\u52a0\u5bc6\uff0c\u901a\u8fc7\u7f16\u7a0b\u6a21\u62df\u4e86\u4e24\u79cd\u52a0\u5bc6\u65b9\u6cd5\u4e0bDNS\u670d\u52a1\u7aef\u548c\u5ba2\u6237\u7aef\u7684\u8f6f\u4ef6\u884c\u4e3a\u3002\u5ba2\u6237\u7aefDNS\u67e5\u8be2\u5747\u901a\u8fc7\u811a\u672c\u5b9a\u65f6\u5faa\u73af\u8c03\u7528\u5b9e\u73b0\uff0c\u56e0\u6b64\u57fa\u4e8e DTLS\u52a0\u5bc6\u7684\u67e5\u8be2\u6bcf\u6b21\u89e6\u53d1\u65b0\u7684 DTLS\u8fde\u63a5\uff0c\u672a\u4f7f\u7528\u5386\u53f2\u4f1a\u8bdd\u3002\u5b9e\u9a8c\u8fd0\u884c\u73af\u5883\u4e3aCentOS 5.7\uff0c\u670d\u52a1\u7aef\u548c\u5ba2\u6237\u7aef\u5206\u522b\u90e8\u7f72\u5728\u5317\u4eac\u540c\u57ce\u7684\u4e0d\u540c\u8282\u70b9\u3002<\/p>\n \u5b9e\u9a8c\u7ed3\u679c\u4e0e\u5206\u6790<\/strong><\/div>\n 1)\u56fa\u5b9a\u901a\u4fe1\u5b57\u8282\u65f6\u5ef6\u5bf9\u6bd4\u3002\u91c7\u752810 Bit\u7684\u901a\u4fe1\u6570\u636e\uff0c\u5229\u7528\u4e0d\u540c\u5f3a\u5ea6\u7684\u5bc6\u94a5\u8fdb\u884c\u6d4b\u8bd5\uff0c\u5b9e\u9a8c\u7ed3\u679c\u5982\u56fe5\u6240\u793a\u3002 \u7efc\u4e0a\u6240\u8ff0\uff0c\u5728\u5bc6\u94a5\u957f\u5ea6\u548c\u4f20\u8f93\u62a5\u6587\u8f83\u5c0f\u65f6\uff0cDNSDEA\u65f6\u5ef6\u660e\u663e\u4f4e\u4e8e DTLS\u65b9\u6cd5;\u57fa\u4e8eDTLS\u52a0\u5bc6\u7684\u65b9\u6cd5\uff0c\u7531\u4e8e\u5728\u8fde\u63a5\u5efa\u7acb\u540e\uff0c\u53cc\u65b9\u91c7\u7528\u5bf9\u79f0\u5bc6\u94a5\u52a0\u5bc6\uff0c\u5176\u8017\u65f6\u7684\u589e\u957f\u5e45\u5ea6\u8981\u5c0f\u4e8eDNSDEA;\u7531\u4e8e\u591a\u6570 DNS \u62a5\u6587\u7684\u5927\u5c0f\u4e00\u822c\u90fd\u5728 200Byte \u4ee5\u5185\uff0c\u56e0\u6b64\u76f8\u8f83\u4e8e DTLS \u65b9\u6cd5\uff0cDNSDEA \u53ef\u4ee5\u660e\u663e\u964d\u4f4e DNS \u52a0\u5bc6\u4f20\u8f93\u65f6\u5ef6\u3002\u6b64\u5916\uff0cDNSDEA \u57fa\u4e8e DNS\u4f20\u8f93\uff0c\u5176\u65e0\u72b6\u6001\u7684\u7279\u6027\u4e5f\u53ef\u4ee5\u660e\u663e\u63d0\u5347\u670d\u52a1\u7aef\u7684\u5e76\u53d1\u6027\u3002<\/p>\n \u968f\u7740\u4e92\u8054\u7f51\u4e2a\u4eba\u9690\u79c1\u95ee\u9898\u5f97\u5230\u66f4\u591a\u4eba\u7684\u5173\u6ce8\uff0cDNS\u9690\u79c1\u6cc4\u9732\u95ee\u9898\u5c06\u4f1a\u8d8a\u53d1\u7a81\u51fa\u3002\u9488\u5bf9DNS\u4e2a\u4eba\u9690\u79c1\u95ee\u9898\u7684\u73b0\u6709\u6280\u672f\u8fdb\u884c\u5206\u6790\uff0c\u5728\u73b0\u6709\u6280\u672f\u89e3\u51b3\u65b9\u6cd5\u57fa\u7840\u4e0a\u63d0\u51fa\u4e86\u4e00\u79cd\u65b0\u7684DNS\u52a0\u5bc6\u901a\u4fe1\u65b9\u6cd5\uff1aDNSDEA\u3002\u4e0e\u4f20\u7edf\u65b9\u6cd5\u76f8\u6bd4\uff0c\u8be5\u65b9\u6cd5\u5728\u73b0\u6709 DNS \u67b6\u6784\u548c\u62a5\u6587\u683c\u5f0f\u4e0b\u91c7\u7528\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u7684\u5bc6\u6587\u65b9\u5f0f\u901a\u4fe1\uff0c\u4e0d\u4ec5\u5b8c\u6210\u4e86 DNS \u4e2a\u4eba\u9690\u79c1\u4fdd\u62a4\uff0c\u800c\u4e14\u63d0\u5347\u4e86\u57df\u540d\u89e3\u6790\u6838\u5fc3\u7b97\u6cd5\u7684\u5e76\u884c\u7c92\u5ea6\uff0c\u964d\u4f4e\u4e86 DNS\u7ec8\u7aef\u4e0e DNS\u670d\u52a1\u7aef\u4e4b\u95f4\u7684\u901a\u4fe1\u5f00\u9500\uff0c\u6709\u6548\u4fdd\u6301\u4e86DNS\u4f4e\u5ef6\u8fdf\u7684\u7279\u6027\u3002<\/p>\n \u9488\u5bf9 RSA\u3001\u692d\u5706\u52a0\u5bc6\u7b97\u6cd5(ECC)\u7b49\u52a0\u5bc6\u7b97\u6cd5\u8fdb\u884c\u4e86\u5b9e\u9a8c\uff0c\u4ee5\u671f\u4e3a\u540e\u7eed\u901a\u4fe1\u52a0\u5bc6\u5e94\u7528\u7814\u7a76\u548c DNS \u5b89\u5168\u89e3\u6790\u5e76\u884c\u5316\u7814\u7a76\u63d0\u4f9b\u4e00\u5b9a\u53c2\u8003\uff0c\u5e76\u4e14\u6df1\u5165\u63a2\u7d22 DNSDEA \u65b9\u6cd5\u9488\u5bf9 DNSSEC TLSA\u534f\u8bae\u7684\u6269\u5c55\uff0c\u63d0\u5347\u52a0\u5bc6\u901a\u4fe1\u5b89\u5168\u6c34\u5e73\u3002\u540e\u7eed\u5c06\u6df1\u5165\u7814\u7a76 DNSDEA\u65b9\u6cd5\u5bf9\u4e8e\u7f51\u7edc\u793e\u4ea4\u548c\u5927\u6570\u636e\u4ea4\u6362\u9886\u57df\u7684\u6539\u8fdb\u4e0e\u5f71\u54cd\uff0c\u8fdb\u4e00\u6b65\u51cf\u5c0f\u4e92\u8054\u7f51\u9690\u79c1\u6cc4\u9732\u98ce\u9669\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u672c\u6587\u63d0\u51fa\u4e86\u4e00\u79cd\u57fa\u4e8e\u7528\u6237\u6570\u636e\u62a5\u534f\u8bae\u7684DNS\u4f20\u8f93\u4e2d\u7528\u6237\u9690\u79c1\u4fdd\u62a4\u7684\u52a0\u5bc6\u65b9\u6cd5\uff1aDNSDEA\u3002\u8be5\u65b9\u6cd5\u91c7\u7528PKI\u52a0\u5bc6\u4f53\u7cfb\u4e0eDNS\u534f\u8bae\u76f8\u878d\u5408\uff0c\u4e0d\u4ec5\u89e3\u51b3\u4e86\u57df\u540d\u9690\u79c1\u4fdd\u62a4\u95ee\u9898\uff0c\u800c\u4e14\u4e0e\u4f20\u7edfDNS\u4f53\u7cfb\u76f8\u517c\u5bb9\uff0c\u4fdd\u6301\u4e86DNS\u7cfb\u7edf\u7684\u7b80\u5355\u3001\u9ad8\u6548\u7684\u6280\u672f\u7279\u70b9\u3002<\/p>\n","protected":false},"author":370,"featured_media":14338,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-149207","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/149207","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/370"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=149207"}],"version-history":[{"count":2,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/149207\/revisions"}],"predecessor-version":[{"id":149255,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/149207\/revisions\/149255"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/14338"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=149207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=149207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=149207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}} |