IPv6
Disabilitazione
GNU/Linux
Id |
Reference |
Licenza |
1 |
CC BY-SA 4.0 1 |
|
2 |
GNU Free Documentation License 1.3 or later 2 |
Run as user |
|
append these lines to the
Sysctl configuration file
/etc/sysctl.conf1net.ipv6.conf.lo.disable_ipv6 = 1 2net.ipv6.conf.all.disable_ipv6 = 1 3net.ipv6.conf.default.disable_ipv6 = 1
reload the configuration
sysctl -p /etc/sysctl.conf
comment IPv6 hosts in
/etc/hosts
reboot and check that everything still works
OpenWRT
Id |
Reference |
Licenza |
3 |
https://discourse.pi-hole.net/t/be-aware-of-androids-shady-ipv6-dns/36636 |
unknown |
4 |
https://forum.openwrt.org/t/solved-how-can-i-completely-disable-ipv6-from-luci/31456/4 |
unknown |
You may want to disable IPv6 on OpenWrt because of DNS issues with recent Android OSes. Android uses the IPv6 DNSes advertised by an OpenWRT router even if you set a static IPv4 DNS.
login the LuCI web UI
append this content to
System
->Startup
->Local Startup
before theexit 0
commandsysctl -w net.ipv6.conf.all.disable_ipv6=1 sysctl -w net.ipv6.conf.default.disable_ipv6=1
Nota
The
net.ipv6.conf.lo.disable_ipv6=1
option does not seem to have any effect on the loopback interface.reboot
Footnotes