diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-05-08 23:15:50 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-05-09 00:29:53 -0600 |
commit | 7f236c79570642d466c5acab890b26c3a07f4f7a (patch) | |
tree | efae9b46fc54a72fb408e56a0fb11960f0ebfb97 /src/man/wg-quick.8 | |
parent | systemd: add wg-quick.target (diff) | |
download | wireguard-tools-7f236c79570642d466c5acab890b26c3a07f4f7a.tar.xz wireguard-tools-7f236c79570642d466c5acab890b26c3a07f4f7a.zip |
wg-quick: support dns search domains
If DNS= has an IP in it, treat it as a DNS server. If DNS= has a non-IP
in it, treat it as a DNS search domain.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/man/wg-quick.8')
-rw-r--r-- | src/man/wg-quick.8 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/man/wg-quick.8 b/src/man/wg-quick.8 index eca3b48..c693a89 100644 --- a/src/man/wg-quick.8 +++ b/src/man/wg-quick.8 @@ -76,7 +76,8 @@ Address \(em a comma-separated list of IP (v4 or v6) addresses (optionally with to be assigned to the interface. May be specified multiple times. .IP \(bu DNS \(em a comma-separated list of IP (v4 or v6) addresses to be set as the interface's -DNS servers. May be specified multiple times. Upon bringing the interface up, this runs +DNS servers, or non-IP hostnames to be set as the interface's DNS search domains. May be +specified multiple times. Upon bringing the interface up, this runs `resolvconf -a tun.\fIINTERFACE\fP -m 0 -x` and upon bringing it down, this runs `resolvconf -d tun.\fIINTERFACE\fP`. If these particular invocations of .BR resolvconf (8) |