From 7c5bf84cbbc6599c01104d88a65e0cbb5dbef6c2 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sun, 22 Nov 2026 20:52:28 -0700 Subject: [PATCH] vpn, refactor the DNS servers. --- tasks/workstation/linux/software/vpn.yml | 26 ++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/tasks/workstation/linux/software/vpn.yml b/tasks/workstation/linux/software/vpn.yml index 2b09687..f3c5a13 100644 --- a/tasks/workstation/linux/software/vpn.yml +++ b/tasks/workstation/linux/software/vpn.yml @@ -120,11 +120,25 @@ - name: Workstation | Software | VPN | Mullvad | DNS Servers ansible.builtin.set_fact: - dns_mullvad_all: "" # DEPRECATED - dns_quad9_default: 149.112.112.112 9.9.9.9 - dns_adguard_family: 94.140.14.15 94.140.15.16 - dns_adguard_default: 94.140.14.14 94.140.15.15 - dns_cloudflare_default: 1.0.0.1 1.1.1.1 + # https://mullvad.net/en/help/dns-over-https-and-dns-over-tls + dns_mullvad_all: "" # DEPRECATED 2026-11-02 + # https://docs.quad9.net/services/ + dns_quad9_basic: 9.9.9.9 149.112.112.112 # dns.quad9.net + dns_quad9_ecs: 9.9.9.11 149.112.112.11 # dns11.quad9.net, geo-location based servers + # https://adguard-dns.io/en/public-dns.html + dns_adguard_ads: 94.140.14.14 94.140.15.15 # tls://dns.adguard-dns.com + dns_adguard_family: 94.140.14.15 94.140.15.16 # tls://family.adguard-dns.com + # https://developers.cloudflare.com/1.1.1.1/ip-addresses/ + dns_cloudflare_basic: 1.1.1.1 1.0.0.1 + dns_cloudflare_malware: 1.1.1.2 1.0.0.2 # Blocks malware. + dns_cloudflare_family: 1.1.1.3 1.0.0.3 # Blocks malware and adult content. + # https://controld.com/free-dns#quick-setups + dns_controld_basic: 76.76.2.0 76.76.10.0 # p0.freedns.controld.com, DNS only, no blocking. + dns_controld_malware: 76.76.2.1 76.76.10.1 # p1.freedns.controld.com, malware only. + dns_controld_ads: 76.76.2.2 76.76.10.2 # p2.freedns.controld.com, malware and ads. + dns_controld_social: 76.76.2.3 76.76.10.3 # p3.freedns.controld.com, ONLY does social, not ads or anything. + dns_controld_family: 76.76.2.4 76.76.10.4 # family.freedns.controld.com, still allows socials but blocks all else. + dns_controld_all: "" # 76.76.2.11 is just the bootstrap IP, not a real server, use subdomain: # no-ads-porn-dating-gov-gambling-drugs-malware-typo-social.freedns.controld.com2 - name: Workstation | Software | VPN | Mullvad | PATH | Enable Lockdown ansible.builtin.shell: "{{ item }}" @@ -132,7 +146,7 @@ - mullvad lan set allow # This allows Docker to forward ports to localhost! - mullvad tunnel set ipv6 on #- mullvad dns set default --block-ads --block-trackers --block-malware --block-gambling --block-adult-content --block-social-media - - mullvad dns set custom {{ dns_mullvad_all }} {{ dns_adguard_family }} {{ dns_quad9_default }} {{ dns_adguard_default }} {{ dns_cloudflare_default }} + - mullvad dns set custom {{ dns_controld_all }} {{ dns_controld_family }} {{ dns_adguard_family }} {{ dns_controld_ads }} {{ dns_adguard_ads }} {{ dns_quad9_basic }} {{ dns_controld_basic }} {{ dns_cloudflare_basic }} - mullvad auto-connect set on - mullvad lockdown-mode set on - mullvad beta-program set off