diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-08-01 16:04:12 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-08-01 16:06:39 +0200 |
commit | 4e945a6f7971fd7d1f6b2c62ee3afdaff3c95ce4 (patch) | |
tree | b36f290a2aeda5bfb77d20b2953898c3d3c36382 /src/resolve/resolved-gperf.gperf | |
parent | e70df46b9721a3d025e7a0b4ffb5893cbde5e55d (diff) |
resolved: beef up DNS server configuration logic
We now maintain two lists of DNS servers: system servers and fallback
servers.
system servers are used in combination with any per-link servers.
fallback servers are only used if there are no system servers or
per-link servers configured.
The system server list is supposed to be populated from a foreign tool's
/etc/resolv.conf (not implemented yet).
Also adds a configuration switch for LLMNR, that allows configuring
whether LLMNR shall be used simply for resolving or also for responding.
Diffstat (limited to 'src/resolve/resolved-gperf.gperf')
-rw-r--r-- | src/resolve/resolved-gperf.gperf | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/resolve/resolved-gperf.gperf b/src/resolve/resolved-gperf.gperf index 051ccec708..8e78fbf06a 100644 --- a/src/resolve/resolved-gperf.gperf +++ b/src/resolve/resolved-gperf.gperf @@ -1,7 +1,7 @@ %{ #include <stddef.h> #include "conf-parser.h" -#include "resolved.h" +#include "resolved-conf.h" %} struct ConfigPerfItem; %null_strings @@ -14,4 +14,6 @@ struct ConfigPerfItem; %struct-type %includes %% -Resolve.DNS, config_parse_dnsv, 0, 0 +Resolve.DNS, config_parse_dnsv, DNS_SERVER_SYSTEM, 0 +Resolve.FallbackDNS, config_parse_dnsv, DNS_SERVER_FALLBACK, 0 +Resolve.LLMNR, config_parse_support, 0, offsetof(Manager, llmnr_support) |