bind隐藏版本号

蒜香大龙虾 2024-08-07 23:27:16
Categories: Tags:

隐藏bind版本号

查询版本号

1
nslookup -q=txt -class=CHAOS version.bind. 172.20.20.11

输出为

1
2
3
4
5
[root@linux1 ~]# nslookup -q=txt -class=CHAOS version.bind. 172.20.20.11
Server: 172.20.20.11
Address: 172.20.20.11#53

version.bind text = "9.16.23-RH"

修改版本号

编辑/etc/named.conf

1
2
3
4
options {
....
version "114.514.1919.810";
};

重启服务,再次查看

1
2
3
4
5
[root@linux1 ~]# nslookup -q=txt -class=CHAOS version.bind. 172.20.20.11
Server: 172.20.20.11
Address: 172.20.20.11#53

version.bind text = "114.514.1919.810"