Is it possible to hide version information in dnsmasq?
Issue
- If the client publish the query like below, we can see the version information of
dnsmasq. Is it possible to hide such information?
# dig @localhost chaos txt version.bind
; <<>> DiG 9.11.20-RedHat-9.11.20-5.el8_3.1 <<>> @localhost chaos txt version.bind
; (2 servers found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57670
;; flags: qr aa rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;version.bind. CH TXT
;; ANSWER SECTION:
version.bind. 0 CH TXT "dnsmasq-2.79" <<<===
;; Query time: 0 msec
;; SERVER: ::1#53(::1)
;; WHEN: Thu Dec 08 12:12:17 JST 2022
;; MSG SIZE rcvd: 66
Environment
- Red Hat Enterprise Linux 8
- dnsmasq
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.