getdnsapi / stubby

Stubby is the name given to a mode of using getdns which enables it to act as a local DNS Privacy stub resolver (using DNS-over-TLS).
https://dnsprivacy.org/dns_privacy_daemon_-_stubby/
BSD 3-Clause "New" or "Revised" License
1.2k stars 99 forks source link

[Patch] resolvconf config parameter broken in 0.4.0 #290

Closed RMerl closed 3 years ago

RMerl commented 3 years ago

Since 0.4.0, using a "resolvconf" parameter in a config file results in a parsing error at load time. The following patch fixes it:

--- a/getdns/stubby/src/yaml/convert_yaml_to_json.c
+++ b/getdns/stubby/src/yaml/convert_yaml_to_json.c
@@ -68,6 +68,7 @@ static const char* QUOTE_KEY_VALUES[] = {
        "dnssec_trust_anchors",
        "tls_auth_name",
        "digest",
+       "resolvconf",
        NULL
 };
saradickinson commented 3 years ago

Fixed in https://github.com/getdnsapi/stubby/commit/1c037fad5a21d09e63ad32c77ec1f432ffaa9ef8 - thanks @RMerl

RMerl commented 3 years ago

You're welcome :)