客户端解析不成功
[14:42:08 root@sz-kx-centos8 ~]# dig -t ptr 48.0.31.172.in-addr.arpa
; <<>> DiG 9.11.20-RedHat-9.11.20-5.el8_3.1 <<>> -t ptr 48.0.31.172.in-addr.arpa
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 13979
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: 14dd778a5f9d54319bc1428f608fa468b7903b67e3fc2b6f (good)
;; QUESTION SECTION:
;48.0.31.172.in-addr.arpa. IN PTR
;; AUTHORITY SECTION:
31.172.IN-ADDR.ARPA. 86400 IN SOA 31.172.IN-ADDR.ARPA. . 0 28800 7200 604800 86400
;; Query time: 1 msec
;; SERVER: 172.31.0.38#53(172.31.0.38)
;; WHEN: Mon May 03 15:21:13 CST 2021
;; MSG SIZE rcvd: 135
DNS服务端改配置文件
[root@localhost named]# vim /etc/named.rfc