dnsmasq: Don't expose *.bind data incl version
authorKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Wed, 7 Sep 2016 10:13:52 +0000 (11:13 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 8 Sep 2016 13:28:38 +0000 (15:28 +0200)
commit03cd41679597364ca0b382646b35cb5d06465d1b
tree487d9cc59d1d60e8d9375e985b8d0fc5010aebd6
parentc4bfb119d85bcd5faf569f9cc83628ba19f58a1f
dnsmasq: Don't expose *.bind data incl version

Don't expose dnsmasq version & other data to clients via the *.bind
pseudo domain.  This uses a new 'NO_ID' compile time option which has been
discussed and submitted upstream.

This is an alternate to replacing version with 'unknown' which affects
the version reported to syslog and 'dnsmasq --version'

Run time tested with & without NO_ID on Archer C7 v2

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
package/network/services/dnsmasq/Makefile
package/network/services/dnsmasq/patches/120-dnsmasq-compile-time-option-NO_ID.patch [new file with mode: 0644]