可以使用dig命令去解析 如解析qq.com的MX记录 # dig mx qq.com
; <<>> DiG 9.11.5-P4-5.1+deb10u5-Debian <<>> mx qq.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5439 ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 4, ADDITIONAL: 18
;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ; COOKIE: cc11f42903acc8e35de0eff361516ab913c9adbfdff0d79c (good) ;; QUESTION SECTION: ;qq.com. IN MX
;; ANSWER SECTION: qq.com. 3208 IN MX 20 mx2.qq.com. qq.com. 3208 IN MX 10 mx3.qq.com. qq.com. 3208 IN MX 30 mx1.qq.com.
;; AUTHORITY SECTION: qq.com. 97596 IN NS ns2.qq.com. qq.com. 97596 IN NS ns1.qq.com. qq.com. 97596 IN NS ns3.qq.com. qq.com. 97596 IN NS ns4.qq.com.
;; ADDITIONAL SECTION: ns1.qq.com. 67776 IN A 183.36.112.46 ns1.qq.com. 67776 IN A 203.205.220.251 ns1.qq.com. 67776 IN A 101.89.19.165 ns1.qq.com. 67776 IN A 157.255.246.101 ns2.qq.com. 67776 IN A 121.51.160.100 ns2.qq.com. 67776 IN A 123.151.66.78 ns2.qq.com. 67776 IN A 203.205.249.143 ns3.qq.com. 286 IN A 112.60.1.69 ns3.qq.com. 286 IN A 183.192.164.81 ns3.qq.com. 286 IN A 203.205.195.94 ns4.qq.com. 599 IN A 203.205.195.104 ns4.qq.com. 599 IN A 203.205.221.79 ns4.qq.com. 599 IN A 58.144.154.100 ns4.qq.com. 599 IN A 59.36.132.142 ns4.qq.com. 599 IN A 125.39.46.125 ns1.qq.com. 95597 IN AAAA 2402:4e00:8030::115 ns2.qq.com. 95597 IN AAAA 2402:4e00:8010:1::11c
|