Noticed this while reviewing #289
print_config to ignore config values that have an empty string.
I believe this is an error for most parameters.
This PR updates the minimum supported version of unbund. this allows
us to be a bit more generous when writing the first unbound.conf file
and fixes #286
I have picked unbound 1.6.6 as the minimum supported version. this
seems to be the version available in centos 7 which i assume is the
oldest version we support based on metatdata.json
have been debugging #290 and i have hit a few issues with centos
seems to be using systemd as such it needs a privileged container. Has this always been the case
"Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist"
Looks like its related to EOL. creating this CR to see if things build by default
From unbound documentation:
target-fetch-policy: <"list of numbers">
Set the target fetch policy used by unbound to determine if it
should fetch nameserver target addresses opportunistically. The
policy is described per dependency depth.
The number of values determines the maximum dependency depth
that unbound will pursue in answering a query. A value of -1
means to fetch all targets opportunistically for that dependency
depth. A value of 0 means to fetch on demand only. A positive
value fetches that many targets opportunistically.
Enclose the list between quotes ("") and put spaces between num-
bers. The default is "3 2 1 0 0". Setting all zeroes, "0 0 0 0
0" gives behaviour closer to that of BIND 9, while setting "-1
-1 -1 -1 -1" gives behaviour rumoured to be closer to that of
Current code creates configuration with undefined behaviour.