unbound: expose interface-auto to UCI

This exposes the interface-auto option to UCI.

By default, interface-auto is disabled.
This leads to the DNS reply possibly originating from
a different address then the request was sent to.

Devices with a packet filter might not receive the reply in this case.

Enabling interface-auto ensures the reply is sent with the
source-address the request was sent to.

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit da76aeb24c)
This commit is contained in:
David Bauer
2020-06-03 00:05:33 +02:00
parent 0d94836087
commit e760909455
3 changed files with 12 additions and 0 deletions
+4
View File
@@ -259,6 +259,10 @@ config unbound
Boolean. If enabled version.server, version.bind, id.server, and
hostname.bind queries are refused.
option interface_auto '0'
Boolean. If enabled DNS replies will have the same source address as
the request was sent to.
option listen_port '53'
Port. Incoming. Where Unbound will listen for queries.