有些系统会返回部署服务器的dns系统版本,但不是都会返回
命令如下
dig @bind_dns_server CHAOS TXT version.bind
试一下一台海外的
dig @195.244.44.44 CHAOS TXT version.bind ; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.7 <<>> @195.244.44.44 CHAOS TXT version.bind ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45755 ;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; WARNING: recursion requested but not available ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ;; QUESTION SECTION: ;version.bind.CHTXT ;; ANSWER SECTION: version.bind.0CHTXT"SDNS v1.1.1 (github.com/semihalev/sdns)" ;; Query time: 185 msec ;; SERVER: 195.244.44.44#53(195.244.44.44) ;; WHEN: Fri Sep 24 17:13:37 CST 2021 ;; MSG SIZE rcvd: 93
再来测一下腾讯的。
dig @f1g1ns1.dnspod.net CHAOS TXT version.bind ;; Warning: query response not set ;; Warning: Message parser reports malformed message packet. ; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.7 <<>> @f1g1ns1.dnspod.net CHAOS TXT version.bind ; (6 servers found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7644 ;; flags: rd ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; WARNING: recursion requested but not available ;; QUESTION SECTION: ;version.bind. CH TXT ;; ANSWER SECTION: version.bind. 0 CH TXT "DNSPod AUTHORITY DNS 5.2.2106.00" ;; Query time: 32 msec ;; SERVER: 129.211.176.187#53(129.211.176.187) ;; WHEN: Fri Sep 24 17:14:42 CST 2021 ;; MSG SIZE rcvd: 75
腾讯说它使用的是自己研发的版本
"DNSPod AUTHORITY DNS 5.2.2106.00"
发表评论