summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-conf.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-02-02 15:45:59 +0100
committerLennart Poettering <lennart@poettering.net>2022-02-16 22:20:10 +0100
commit281df579a725188cf46d420edd6ea2415c8b925e (patch)
treee97134ea35c63899928c56bef5079e7b45baa994 /src/resolve/resolved-conf.h
parent5d11af60ac997606269385bcfb0ec5905fc01c38 (diff)
downloadsystemd-281df579a725188cf46d420edd6ea2415c8b925e.tar.gz
Revert "resolved: filter out our own stub resolvers when parsing servers"
This reverts commit 0ad4efb14beea9148838a0d974821e3b98cafc47. See https://github.com/systemd/systemd/pull/20559#issuecomment-1028011030 for reasoning. Quoting: > I think it should be OK to advertise extra stub listeners to local > clients, but you prohibit this now. i.e. there are two different > concepts here, and we shouldn't mix them up: > > 1. tracking configured dns servers and advertise them to local programs > 2. actually using them ourselves > > I am pretty sure that our own stubs are OK for 1 but not OK for 2, > hence we should filter at the time of use not at the time of parse.
Diffstat (limited to 'src/resolve/resolved-conf.h')
-rw-r--r--src/resolve/resolved-conf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-conf.h b/src/resolve/resolved-conf.h
index 4639cefbd8..07ce2591a9 100644
--- a/src/resolve/resolved-conf.h
+++ b/src/resolve/resolved-conf.h
@@ -8,7 +8,7 @@
int manager_parse_config_file(Manager *m);
int manager_parse_search_domains_and_warn(Manager *m, const char *string);
-int manager_parse_dns_server_string_and_warn(Manager *m, DnsServerType type, const char *string, bool ignore_self_quietly);
+int manager_parse_dns_server_string_and_warn(Manager *m, DnsServerType type, const char *string);
const struct ConfigPerfItem* resolved_gperf_lookup(const char *key, GPERF_LEN_TYPE length);
const struct ConfigPerfItem* resolved_dnssd_gperf_lookup(const char *key, GPERF_LEN_TYPE length);