{"id":165754,"date":"2019-12-21T13:00:21","date_gmt":"2019-12-21T05:00:21","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=165754"},"modified":"2019-12-02T13:54:50","modified_gmt":"2019-12-02T05:54:50","slug":"dns-tcp-udp","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/dns-tcp-udp.html","title":{"rendered":"DNS\u4f55\u65f6\u4f7f\u7528TCP\u4e0eUDP\u534f\u8bae\uff1f"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | DNS\u540c\u65f6\u5360\u7528UDP\u548cTCP\u7aef\u53e353\u662f\u516c\u8ba4\u7684\uff0c\u8fd9\u79cd\u5355\u4e2a\u5e94\u7528\u534f\u8bae\u540c\u65f6\u4f7f\u7528\u4e24\u79cd\u4f20\u8f93\u534f\u8bae\u7684\u60c5\u51b5\u5728TCP\/IP\u6808\u4e5f\u7b97\u662f\u4e2a\u53e6\u7c7b\u3002\u4f46\u5f88\u5c11\u6709\u4eba\u77e5\u9053DNS\u5206\u522b\u5728\u4ec0\u4e48\u60c5\u51b5\u4e0b\u4f7f\u7528\u8fd9\u4e24\u79cd\u534f\u8bae\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n DNS\u540c\u65f6\u5360\u7528UDP\u548cTCP\u7aef\u53e353\u662f\u516c\u8ba4\u7684\uff0c\u8fd9\u79cd\u5355\u4e2a\u5e94\u7528\u534f\u8bae\u540c\u65f6\u4f7f\u7528\u4e24\u79cd\u4f20\u8f93\u534f\u8bae\u7684\u60c5\u51b5\u5728TCP\/IP\u6808\u4e5f\u7b97\u662f\u4e2a\u53e6\u7c7b\u3002\u4f46\u5f88\u5c11\u6709\u4eba\u77e5\u9053DNS\u5206\u522b\u5728\u4ec0\u4e48\u60c5\u51b5\u4e0b\u4f7f\u7528\u8fd9\u4e24\u79cd\u534f\u8bae\u3002<\/p>\n TCP\u4e0eUDP<\/strong><\/strong><\/span><\/div>\n TCP\uff1a\u9762\u5411\u8fde\u63a5\u7684\u534f\u8bae\uff0c\u63d0\u4f9b\u53ef\u9760\u7684\u6570\u636e\u4f20\u8f93\uff0c\u4e00\u822c\u670d\u52a1\u8d28\u91cf\u8981\u6c42\u6bd4\u8f83\u9ad8\u7684\u60c5\u51b5\uff0c\u4f7f\u7528\u8fd9\u4e2a\u534f\u8bae\u3002<\/p>\n UDP\uff1a\u7528\u6237\u6570\u636e\u62a5\u534f\u8bae\uff0c\u662f\u4e00\u79cd\u65e0\u8fde\u63a5\u7684\u4f20\u8f93\u5c42\u534f\u8bae\uff0c\u63d0\u4f9b\u9762\u5411\u4e8b\u52a1\u7684\u7b80\u5355\u4e0d\u53ef\u9760\u4fe1\u606f\u4f20\u9001\u670d\u52a1\u3002<\/p>\n <\/p>\n TCP\u4e0eUDP\u7684\u533a\u522b<\/strong> \n<\/strong><\/span><\/div>\n UDP\u548cTCP\u534f\u8bae\u7684\u4e3b\u8981\u533a\u522b\u662f\u4e24\u8005\u5728\u5982\u4f55\u5b9e\u73b0\u4fe1\u606f\u7684\u53ef\u9760\u4f20\u9012\u65b9\u9762\u4e0d\u540c\u3002<\/p>\n TCP\u534f\u8bae\u4e2d\u5305\u542b\u4e86\u4e13\u95e8\u7684\u4f20\u9012\u4fdd\u8bc1\u673a\u5236\uff0c\u5f53\u6570\u636e\u63a5\u6536\u65b9\u6536\u5230\u53d1\u9001\u65b9\u4f20\u6765\u7684\u4fe1\u606f\u65f6\uff0c\u4f1a\u81ea\u52a8\u5411\u53d1\u9001\u65b9\u53d1\u51fa\u786e\u8ba4\u6d88\u606f;\u53d1\u9001\u65b9\u53ea\u6709\u5728\u63a5\u6536\u5230\u8be5\u786e\u8ba4\u6d88\u606f\u4e4b\u540e\u624d\u7ee7\u7eed\u4f20\u9001\u5176\u5b83\u4fe1\u606f\uff0c\u5426\u5219\u5c06\u4e00\u76f4\u7b49\u5f85\u76f4\u5230\u6536\u5230\u786e\u8ba4\u4fe1\u606f\u4e3a\u6b62\u3002<\/p>\n \u4e0eTCP\u4e0d\u540c\uff0cUDP\u534f\u8bae\u5e76\u4e0d\u63d0\u4f9b\u6570\u636e\u4f20\u9001\u7684\u4fdd\u8bc1\u673a\u5236\u3002\u5982\u679c\u5728\u4ece\u53d1\u9001\u65b9\u5230\u63a5\u6536\u65b9\u7684\u4f20\u9012\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u6570\u636e\u62a5\u7684\u4e22\u5931\uff0c\u534f\u8bae\u672c\u8eab\u5e76\u4e0d\u80fd\u505a\u51fa\u4efb\u4f55\u68c0\u6d4b\u6216\u63d0\u793a\u3002\u56e0\u6b64\uff0c\u901a\u5e38\u4eba\u4eec\u628aUDP\u534f\u8bae\u79f0\u4e3a\u4e0d\u53ef\u9760\u7684\u4f20\u8f93\u534f\u8bae\u3002<\/p>\n \u76f8\u5bf9\u4e8eTCP\u534f\u8bae\uff0cUDP\u534f\u8bae\u7684\u53e6\u5916\u4e00\u4e2a\u4e0d\u540c\u4e4b\u5904\u5728\u4e8e\u5982\u4f55\u63a5\u6536\u7a81\u53d1\u6027\u7684\u591a\u4e2a\u6570\u636e\u62a5\u3002\u4e0d\u540c\u4e8eTCP\uff0cUDP\u5e76\u4e0d\u80fd\u786e\u4fdd\u6570\u636e\u7684\u53d1\u9001\u548c\u63a5\u6536\u987a\u5e8f\u3002\u4e8b\u5b9e\u4e0a\uff0cUDP\u534f\u8bae\u7684\u8fd9\u79cd\u4e71\u5e8f\u6027\u57fa\u672c\u4e0a\u5f88\u5c11\u51fa\u73b0\uff0c\u901a\u5e38\u53ea\u4f1a\u5728\u7f51\u7edc\u975e\u5e38\u62e5\u6324\u7684\u60c5\u51b5\u4e0b\u624d\u6709\u53ef\u80fd\u53d1\u751f\u3002<\/p>\n \u65e2\u7136UDP\u662f\u4e00\u79cd\u4e0d\u53ef\u9760\u7684\u7f51\u7edc\u534f\u8bae\uff0c\u90a3\u4e48\u8fd8\u6709\u4ec0\u4e48\u4f7f\u7528\u4ef7\u503c\u6216\u5fc5\u8981\u5462?\u5176\u5b9e\u4e0d\u7136\uff0c\u5728\u6709\u4e9b\u60c5\u51b5\u4e0bUDP\u534f\u8bae\u53ef\u80fd\u4f1a\u53d8\u5f97\u975e\u5e38\u6709\u7528\u3002\u56e0\u4e3aUDP\u5177\u6709TCP\u6240\u671b\u5c18\u83ab\u53ca\u7684\u901f\u5ea6\u4f18\u52bf\u3002<\/p>\n \u867d\u7136TCP\u534f\u8bae\u4e2d\u690d\u5165\u4e86\u5404\u79cd\u5b89\u5168\u4fdd\u969c\u529f\u80fd\uff0c\u4f46\u662f\u5728\u5b9e\u9645\u6267\u884c\u7684\u8fc7\u7a0b\u4e2d\u4f1a\u5360\u7528\u5927\u91cf\u7684\u7cfb\u7edf\u5f00\u9500\uff0c\u65e0\u7591\u4f7f\u901f\u5ea6\u53d7\u5230\u4e25\u91cd\u7684\u5f71\u54cd\u3002<\/p>\n \u53cd\u89c2UDP\u7531\u4e8e\u6392\u9664\u4e86\u4fe1\u606f\u53ef\u9760\u4f20\u9012\u673a\u5236\uff0c\u5c06\u5b89\u5168\u548c\u6392\u5e8f\u7b49\u529f\u80fd\u79fb\u4ea4\u7ed9\u4e0a\u5c42\u5e94\u7528\u6765\u5b8c\u6210\uff0c\u6781\u5927\u964d\u4f4e\u4e86\u6267\u884c\u65f6\u95f4\uff0c\u4f7f\u901f\u5ea6\u5f97\u5230\u4e86\u4fdd\u8bc1\u3002<\/p>\n DNS\u5728\u8fdb\u884c\u533a\u57df\u4f20\u8f93\u7684\u65f6\u5019\u4f7f\u7528TCP\u534f\u8bae\uff0c\u5176\u5b83\u65f6\u5019\u5219\u4f7f\u7528UDP\u534f\u8bae\u3002<\/p>\n DNS\u7684\u89c4\u8303\u89c4\u5b9a\u4e862\u79cd\u7c7b\u578b\u7684DNS\u670d\u52a1\u5668\uff0c\u4e00\u4e2a\u53eb\u4e3bDNS\u670d\u52a1\u5668\uff0c\u4e00\u4e2a\u53eb\u8f85\u52a9DNS\u670d\u52a1\u5668\u3002<\/p>\n \u5728\u4e00\u4e2a\u533a\u4e2d\u4e3bDNS\u670d\u52a1\u5668\u4ece\u81ea\u5df1\u672c\u673a\u7684\u6570\u636e\u6587\u4ef6\u4e2d\u8bfb\u53d6\u8be5\u533a\u7684DNS\u6570\u636e\u4fe1\u606f\uff0c\u800c\u8f85\u52a9DNS\u670d\u52a1\u5668\u5219\u4ece\u533a\u7684\u4e3bDNS\u670d\u52a1\u5668\u4e2d\u8bfb\u53d6\u8be5\u533a\u7684DNS\u6570\u636e\u4fe1\u606f\u3002\u5f53\u4e00\u4e2a\u8f85\u52a9DNS\u670d\u52a1\u5668\u542f\u52a8\u65f6\uff0c\u5b83\u9700\u8981\u4e0e\u4e3bDNS\u670d\u52a1\u5668\u901a\u4fe1\uff0c\u5e76\u52a0\u8f7d\u6570\u636e\u4fe1\u606f\uff0c\u8fd9\u5c31\u53eb\u505a\u533a\u4f20\u9001(zone transfer)\u3002<\/p>\n \u4e3a\u4ec0\u4e48\u65e2\u4f7f\u7528TCP\u53c8\u4f7f\u7528UDP?<\/strong><\/strong><\/span><\/div>\n \u9996\u5148\u4e86\u89e3\u4e00\u4e0bTCP\u4e0eUDP\u4f20\u9001\u5b57\u8282\u7684\u957f\u5ea6\u9650\u5236\uff1a<\/p>\n UDP\u62a5\u6587\u7684\u6700\u5927\u957f\u5ea6\u4e3a512\u5b57\u8282\uff0c\u800cTCP\u5219\u5141\u8bb8\u62a5\u6587\u957f\u5ea6\u8d85\u8fc7512\u5b57\u8282\u3002\u5f53DNS\u67e5\u8be2\u8d85\u8fc7512\u5b57\u8282\u65f6\uff0c\u534f\u8bae\u7684TC\u6807\u5fd7\u51fa\u73b0\u5220\u9664\u6807\u5fd7\uff0c\u8fd9\u65f6\u5219\u4f7f\u7528TCP\u53d1\u9001\u3002\u901a\u5e38\u4f20\u7edf\u7684UDP\u62a5\u6587\u4e00\u822c\u4e0d\u4f1a\u5927\u4e8e512\u5b57\u8282\u3002<\/p>\n \u533a\u57df\u4f20\u9001\u65f6\u4f7f\u7528TCP\uff0c\u4e3b\u8981\u6709\u4e00\u4e0b\u4e24\u70b9\u8003\u8651\uff1a<\/p>\n
|