Merge pull request #12505 from EricLuehrsen/unbound_ifauto_1907

[openwrt-19.07] unobund: make option interface_auto default on
This commit is contained in:
Etienne Champetier 2020-06-13 18:14:25 -04:00 committed by GitHub
commit 668fb65674
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 5 deletions

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=unbound
PKG_VERSION:=1.10.1
PKG_RELEASE:=1
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://nlnetlabs.nl/downloads/unbound

View file

@ -65,6 +65,8 @@ In this case, Unbound serves your local network directly for all purposes. It wi
**/etc/config/unbound**:
```
config unbound
# likely you want to match domain option between Unbound and dnsmasq
option domain 'yourdomain'
option dhcp_link 'dnsmasq'
option listen_port '53'
...
@ -259,7 +261,7 @@ config unbound
Boolean. If enabled version.server, version.bind, id.server, and
hostname.bind queries are refused.
option interface_auto '0'
option interface_auto '1'
Boolean. If enabled DNS replies will have the same source address as
the request was sent to.

View file

@ -36,7 +36,7 @@ UB_B_NTP_BOOT=1
UB_B_QUERY_MIN=0
UB_B_QRY_MINST=0
UB_B_AUTH_ROOT=0
UB_B_IF_AUTO=0
UB_B_IF_AUTO=1
UB_D_CONTROL=0
UB_D_DOMAIN_TYPE=static
@ -1214,7 +1214,7 @@ unbound_uci() {
config_get_bool UB_B_LOCL_BLCK "$cfg" rebind_localhost 0
config_get_bool UB_B_DNSSEC "$cfg" validator 0
config_get_bool UB_B_NTP_BOOT "$cfg" validator_ntp 1
config_get_bool UB_B_IF_AUTO "$cfg" interface_auto 0
config_get_bool UB_B_IF_AUTO "$cfg" interface_auto 1
config_get UB_IP_DNS64 "$cfg" dns64_prefix "64:ff9b::/96"

View file

@ -11,6 +11,7 @@ config unbound
option edns_size '1280'
option extended_stats '0'
option hide_binddata '1'
option interface_auto '1'
option listen_port '53'
option localservice '1'
option manual_conf '0'
@ -28,7 +29,6 @@ config unbound
option validator '0'
option validator_ntp '1'
option verbosity '1'
option interface_auto '0'
list trigger_interface 'lan'
list trigger_interface 'wan'
#list domain_insecure 'ntp.example.com'