Skip to content

Disable all IPv6

trinib edited this page Jun 13, 2022 · 10 revisions

1. In AdGuard homepage go to DNS settings, under DNS server configuration section

  • Check Disable IPv6 option

2. Open unbound config file :

sudo nano /etc/unbound/unbound.conf.d/unbound.conf
  • Go to line 18 and set do-ip6: yes to do-ip6: no

3. Open knot config file :

sudo nano /etc/knot-resolver/kresd.conf
  • Go to line 6 and set net.ipv6 = true: to net.ipv6 = false

4. Open stubby config file :

sudo nano /etc/stubby/stubby.yml
  • comment the lines 246 to 249

5. Open cloudflared config file:

sudo nano /etc/default/cloudflared
  • Delete --upstream https://2606:4700:4700::1111/dns-query --upstream https://2606:4700:4700::1001/dns-query

6. Open dnscrypt-proxy.toml :

sudo nano /opt/packagefolder/dnscrypt-proxy.toml
  • Set options ipv6_servers = false and block_ipv6 = true

7. Open AcrylicConfiguration.ini file (Windows):

C:\Program Files (x86)\Acrylic DNS Proxy
  • Set SinkholeIPv6Lookups=No

8. Go to https://www.dynu.com/en-US/ControlPanel/DDNS and select Manage your hostname(pencil under actions) and turn off Wildcard IPv6 Alias & Enable IPv6 Address

9. In WireGuard, do not set fe80::1/0 in AllowedIPs

Reboot pi