table of contents
- unstable 258~rc2-2
SYSTEMD.DNS-DELEGATE(5) | systemd.dns-delegate | SYSTEMD.DNS-DELEGATE(5) |
NAME¶
systemd.dns-delegate - DNS Server Delegation Configuration
SYNOPSIS¶
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.service(8). 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=
Added in version 258.
Domains=
Added in version 258.
DefaultRoute=
Added in version 258.
EXAMPLES¶
Example 1.
# /etc/systemd/dns-delegate.d/foobar.dns-delegate [Delegate] DNS=203.0.113.47 Domains=foobar.com
This ensures lookups of "foobar.com" and any domains below it are directed to DNS server 203.0.113.47.
SEE ALSO¶
systemd(1), systemd-resolved.service(8), resolved.conf(5), resolvectl(1)
systemd 258~rc2 |