突发奇想
一个域名 DNS 最多能返回多少条记录?全球 13 台根服务器,难道最多 13 条?
实践是检验真理的唯一标准
我给自己的域名添加了 100 条记录:
dig max-test.renfei.net 权威 DNS
不用说,权威 DNS 返回了 100 条,全部记录
dig @vip1.alidns.com max-test.renfei.net A ; <<>> DiG 9.10.6 <<>> @vip1.alidns.com max-test.renfei.net A ; (5 servers found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64806 ;; flags: qr aa rd; QUERY: 1, ANSWER: 100, AUTHORITY: 0, ADDITIONAL: 1 ;; WARNING: recursion requested but not available ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;max-test.renfei.net. IN A ;; ANSWER SECTION: 114DNS
114DNS 只给我返回了 3 条
dig @114.114.114.114 max-test.renfei.net A ; <<>> DiG 9.10.6 <<>> @114.114.114.114 max-test.renfei.net A ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54210 ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ;; QUESTION SECTION: ;max-test.renfei.net. IN A ;; ANSWER SECTION: max-test.renfei.net. 588 IN A 127.0.0.4 max-test.renfei.net. 588 IN A 127.0.0.5 max-test.renfei.net. 588 IN A 127.0.0.6 ;; Query time: 50 msec ;; SERVER: 114.114.114.114#53(114.114.114.114) ;; WHEN: Mon Apr 24 10:58:37 CST 2023 ;; MSG SIZE rcvd: 96 AliDNS
阿里 DNS 给我返回了 51 条
dig @223.5.5.5 max-test.renfei.net A ; <<>> DiG 9.10.6 <<>> @223.5.5.5 max-test.renfei.net A ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57120 ;; flags: qr rd ra; QUERY: 1, ANSWER: 51, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1408 ;; QUESTION SECTION: ;max-test.renfei.net. IN A ;; ANSWER SECTION: 这我就有点迷惑了,似乎不同的递归 DNS 返回的记录不同?
有大佬给解惑一下吗?
