https_dns_proxy: Added optional ipv4 resolvers

* Added optional ipv4 resolvers UCI config option
* Added logging to logd
* Refactored verbosity UCI config option
* Filtered out any address from being added to dnsmasq

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
This commit is contained in:
Gerard Ryan
2019-12-15 16:04:44 +10:00
parent b1634c1737
commit daf538d8c6
3 changed files with 25 additions and 16 deletions

View File

@@ -5,6 +5,8 @@ config https-dns-proxy
option listen_port '5053'
option user 'nobody'
option group 'nogroup'
option ipv4_resolvers '1'
option verbosity '0' # fatal = 0, error = 1, warning = 2, info = 3, debug = 4
config https-dns-proxy
option bootstrap_dns '1.1.1.1,1.0.0.1'
@@ -13,3 +15,5 @@ config https-dns-proxy
option listen_port '5054'
option user 'nobody'
option group 'nogroup'
option ipv4_resolvers '1'
option verbosity '0' # fatal = 0, error = 1, warning = 2, info = 3, debug = 4