This upstream release adds support for trust_anchors_backoff_time configuration parameter. UCI support has been added for this. This commit also includes a number of clean-ups: o change START=50 to START=30 in init file Starting earlier in the boot means less chance of missing interface trigger events. See: https://github.com/openwrt/packages/pull/4675 o remove unused variables from init file o separate local declarations and assignments in init file o add defensive quoting in init file o use default values for procd respawn in init file o make use of {} in variables consistent in init file o remove unused variable from init file Signed-off-by: Jonathan G. Underwood <jonathan.underwood@gmail.com>
42 lines
1.6 KiB
Text
42 lines
1.6 KiB
Text
config stubby 'global'
|
|
option manual '0'
|
|
option trigger 'wan'
|
|
# option triggerdelay '2'
|
|
list dns_transport 'GETDNS_TRANSPORT_TLS'
|
|
option tls_authentication '1'
|
|
option tls_query_padding_blocksize '128'
|
|
# option tls_connection_retries '2'
|
|
# option tls_backoff_time '3600'
|
|
# option timeout '5000'
|
|
# option dnssec_return_status '0'
|
|
option appdata_dir '/var/lib/stubby'
|
|
# option trust_anchors_backoff_time 2500
|
|
# option dnssec_trust_anchors '/var/lib/stubby/getdns-root.key'
|
|
option edns_client_subnet_private '1'
|
|
option idle_timeout '10000'
|
|
option round_robin_upstreams '1'
|
|
list listen_address '127.0.0.1@5453'
|
|
list listen_address '0::1@5453'
|
|
# option log_level '7'
|
|
# option command_line_arguments ''
|
|
|
|
# Upstream resolvers are specified using 'resolver' sections.
|
|
config resolver
|
|
option address '2606:4700:4700::1111'
|
|
option tls_auth_name 'cloudflare-dns.com'
|
|
# list spki 'sha256/yioEpqeR4WtDwE9YxNVnCEkTxIjx6EEIwFSQW+lJsbc='
|
|
|
|
config resolver
|
|
option address '2606:4700:4700::1001'
|
|
option tls_auth_name 'cloudflare-dns.com'
|
|
# list spki 'sha256/yioEpqeR4WtDwE9YxNVnCEkTxIjx6EEIwFSQW+lJsbc='
|
|
|
|
config resolver
|
|
option address '1.1.1.1'
|
|
option tls_auth_name 'cloudflare-dns.com'
|
|
# list spki 'sha256/yioEpqeR4WtDwE9YxNVnCEkTxIjx6EEIwFSQW+lJsbc='
|
|
|
|
config resolver
|
|
option address '1.0.0.1'
|
|
option tls_auth_name 'cloudflare-dns.com'
|
|
# list spki 'sha256/yioEpqeR4WtDwE9YxNVnCEkTxIjx6EEIwFSQW+lJsbc='
|