Dnsmasqのバージョン番号を隠す方法は?

Dnsmasqのバージョン番号を隠す方法は?

BIND DNSサーバーのバージョン番号を非表示にできますが、dnsmasqでこれを変更する方法は?

注文の実行:

dig localhost version.bind txt chaos 

ベストアンサー1

version.bind隠し設定オプションがあるかどうかはわかりませんが、dnsmasqコンパイル時オプションがあります。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

おすすめ記事