Domain Name Service

传输协议

DNS主要使用UDP 53端口服务请求。

DNS queries consist of a single UDP request from the client followed by a single UDP reply from the server.

当响应长度大于512字节且客户端和服务器都支持EDNS,则使用长UDP分组;否则使用TCP重新发起查询。某些解析器全部采用TCP进行查询。

https://en.wikipedia.org/wiki/Domain_Name_System