发现dns的延迟可以这样测:
- [[email protected]~]# dig 有图比.com @8.8.8.8 +tcp
-
- ; <<>> DiG 9.11.5-P4-5.1+deb10u5-Debian <<>> 有图比.com @8.8.8.8 +tcp
- ;; global options: +cmd
- ;; Got answer:
- ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27563
- ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
-
- ;; OPT PSEUDOSECTION:
- ; EDNS: version: 0, flags:; udp: 512
- ;; QUESTION SECTION:
- ;有图比.com. IN A
-
- ;; ANSWER SECTION:
- 有图比.com. 290 IN A 142.250.196.142
-
- ;; Query time: 181 msec
- ;; SERVER: 8.8.8.8#53(8.8.8.8)
- ;; WHEN: Fri Feb 11 19:55:14 CST 2022
- ;; MSG SIZE rcvd: 56
复制代码
|