Security

如何隱藏 Dnsmasq 版本號?

  • May 18, 2018

可以隱藏 BIND DNS 伺服器版本號,但是如何在 dnsmasq 中更改它?

要執行的命令:

dig localhost version.bind txt chaos 

我不確定是否存在要隱藏的配置選項version.binddnsmasq但存在編譯時選項NO_ID

 **Compile time option NO_ID**

    Some consider it good practice to obscure software version numbers to
    clients. Compiling with -DNO_ID removes the *.bind info structure.
    This includes: version, author, copyright, cachesize, cache insertions,
    evictions, misses & hits, auth & servers.

以下是相同的討論主題:

http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2016q3/010859.html http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2016q3/010858.html

引用自:https://unix.stackexchange.com/questions/444544