mirror of
https://git.zx2c4.com/wireguard-tools
synced 2025-04-09 17:24:25 +00:00
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>
The DNS Hatchet =============== This is a workaround for distributions without resolvconf or any proper mechanism of setting the DNS. Running 'apply.sh` in this directory will insert 'hatchet.bash` into the right place in 'wg-quick.bash`. It is recommended that distributions without any resolvconf available run this before calling 'make install` in their packaging scripts.