From: Lennart Poettering Date: Wed, 2 Apr 2025 13:39:54 +0000 (+0200) Subject: man: document dns-delegate files X-Git-Tag: v258-rc1~563^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=89768b601bc92c9de855394be4959c469ce9107c;p=thirdparty%2Fsystemd.git man: document dns-delegate files --- diff --git a/man/rules/meson.build b/man/rules/meson.build index f44643352b4..048cc79430a 100644 --- a/man/rules/meson.build +++ b/man/rules/meson.build @@ -1187,6 +1187,7 @@ manpages = [ ['systemd', '1', ['init'], ''], ['systemd.automount', '5', [], ''], ['systemd.device', '5', [], ''], + ['systemd.dns-delegate', '5', [], 'ENABLE_RESOLVE'], ['systemd.dnssd', '5', [], 'ENABLE_RESOLVE'], ['systemd.environment-generator', '7', [], 'ENABLE_ENVIRONMENT_D'], ['systemd.exec', '5', [], ''], diff --git a/man/systemd-resolved.service.xml b/man/systemd-resolved.service.xml index 3bc3a01ab7e..e736f78b0f5 100644 --- a/man/systemd-resolved.service.xml +++ b/man/systemd-resolved.service.xml @@ -509,6 +509,8 @@ search foobar.com barbar.com systemd1 resolved.conf5 + systed.dns-delegate5 + systed.dnssd5 dnssec-trust-anchors.d5 nss-resolve8 resolvectl1 diff --git a/man/systemd.dns-delegate.xml b/man/systemd.dns-delegate.xml new file mode 100644 index 00000000000..3da069d8a6f --- /dev/null +++ b/man/systemd.dns-delegate.xml @@ -0,0 +1,99 @@ + + + + + + + + systemd.dns-delegate + systemd + + + + systemd.dns-delegate + 5 + + + + systemd.dns-delegate + DNS Server Delegation Configuration + + + + + /etc/systemd/dns-delegate.d/*.dns-delegate + /run/systemd/dns-delegate.d/*.dns-delegate + /usr/local/lib/systemd/dns-delegate.d/*.dns-delegate + /usr/lib/systemd/dns-delegate.d/*.dns-delegate + + + + + Description + + *.dns-delegate files may be used to delegate DNS lookups in specific domains to + specific DNS servers. These files are read by + systemd-resolved.service8. + Each such file defines a combination of one or more DNS servers and one or more DNS domains. Each such + definition synthesizes a DNS lookup scope that ensure lookups below the specified domains are sent to the + specified DNS servers, possibly in addition to any per-interface scopes and the global scope that + systemd-resolved maintains anyway. + + + + [Delegate] Section Options + + + + DNS= + + Takes one or more DNS server specifications, in the same syntax as the option of the same name in resolved.conf5. + + + + + Domains= + + Takes one or more domain name specifications, in the same syntax as the option of the same name in resolved.conf5. + + + + + DefaultRoute= + + Takes a boolean value, defaults to off. Controls whether this DNS server is a candidate for + looking up records for which no better route exists. + + + + + + + + + Examples + + # /etc/systemd/dns-delegate.d/foobar.dns-delegate +[Delegate] +DNS=203.0.113.47 +Domain=foobar.com + + This ensures lookups of foobar.com and any domains below it are directed to + DNS server 203.0.113.47. + + + + + See Also + + systemd1 + systemd-resolved.service8 + resolved.conf5 + resolvectl1 + + + +