From d9fabe69659691d12ab038b7439b30d0708df892 Mon Sep 17 00:00:00 2001 From: Vladislav Ponomarev Date: Sun, 3 Nov 2024 18:20:40 +0800 Subject: [PATCH] Set OpenNIC dns for wg-easy --- roles/wireguard/tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/wireguard/tasks/main.yml b/roles/wireguard/tasks/main.yml index 3e12c60..ed70684 100644 --- a/roles/wireguard/tasks/main.yml +++ b/roles/wireguard/tasks/main.yml @@ -25,10 +25,11 @@ - NET_ADMIN - SYS_MODULE memory: "{{ wireguard_memory }}" + # Last DNS is from OpenNIC for *.lib domains, etc. env: "PASSWORD_HASH": "{{ wireguard_password_hash }}" "WG_HOST": "{{ wireguard_subdomain }}.{{ server_hostname }}" - "WG_DEFAULT_DNS": "1.1.1.1, 8.8.8.8, 8.8.4.4" + "WG_DEFAULT_DNS": "1.1.1.1, 8.8.8.8, 195.10.195.195" "LANG": "en" "PORT": "51821" "WG_PORT": "51820"