Web Browsing Slow Ipv6 Ipv4
Some hardware such as NICs and modems shows broken behavior when exposed to IPv6 related DNS requests. This leaves you wondering why DNS resolution seems slower or doesn't work at all. This guide shows how to disable this new protocol.
To check if IPv6 is disabled, run the following command:
0 means it’s enabled and 1 – disabled.
To disable IPv6, you have to add the following lines to /etc/sysctl.conf:
Use a terminal editor or leafpad as root and put this at the end of the file:
#disable ipv6 net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1
To do it from the command line, paste this in a terminal:
echo "#disable ipv6" | sudo tee -a /etc/sysctl.conf
echo "net.ipv6.conf.all.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf echo "net.ipv6.conf.default.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf echo "net.ipv6.conf.lo.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf
Then reboot and check if IPv6 has been disabled with the command in the beginning of this wiki page.