4e945a6f79
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.
20 lines
560 B
Plaintext
20 lines
560 B
Plaintext
%{
|
|
#include <stddef.h>
|
|
#include "conf-parser.h"
|
|
#include "resolved-conf.h"
|
|
%}
|
|
struct ConfigPerfItem;
|
|
%null_strings
|
|
%language=ANSI-C
|
|
%define slot-name section_and_lvalue
|
|
%define hash-function-name resolved_gperf_hash
|
|
%define lookup-function-name resolved_gperf_lookup
|
|
%readonly-tables
|
|
%omit-struct-type
|
|
%struct-type
|
|
%includes
|
|
%%
|
|
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)
|