change variable name for DNS

This commit is contained in:
gunix 2020-09-19 13:29:15 +03:00
parent 0fb2a42b49
commit 91c647fa28
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ echo "
Address = $(echo "$wireguard_json" | jq -r '.peer_ip')
PrivateKey = $privKey
## If you want wg-quick to also set up your DNS, uncomment the line below.
# DNS = $(echo "$json" | jq -r '.dns_servers[0]')
# DNS = $(echo "$wireguard_json" | jq -r '.dns_servers[0]')
[Peer]
PublicKey = $(echo "$wireguard_json" | jq -r '.server_key')