From 61bdb137758ec18c74c8fb1b4030e496a2a70ebd Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Wed, 3 Apr 2024 16:00:23 -0400 Subject: fix dns --- roles/vpn/templates/config.yml.j2 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'roles/vpn') diff --git a/roles/vpn/templates/config.yml.j2 b/roles/vpn/templates/config.yml.j2 index 64e00fb..88393a2 100644 --- a/roles/vpn/templates/config.yml.j2 +++ b/roles/vpn/templates/config.yml.j2 @@ -177,7 +177,8 @@ dns_config: # List of DNS servers to expose to clients. nameservers: - - {{ nameserver_ip }} + - 1.1.1.1 + - 1.0.0.1 # NextDNS (see https://tailscale.com/kb/1218/nextdns/). # "abc123" is example NextDNS ID, replace with yours. @@ -200,8 +201,12 @@ dns_config: # darp.headscale.net: # - 1.1.1.1 # - 8.8.8.8 + restricted_nameservers: + internal.simponic.xyz: + - {{ nameserver_ip }} + hatecomputers.club: + - {{ nameserver_ip }} - # Search domains to inject. domains: ['simponic.xyz', 'internal.simponic.xyz'] # Extra DNS records -- cgit v1.2.3-70-g09d2