I am using Ubuntu 16.04 LTS. For the past few weeks, I am facing this weird issue.
I am using VPN Unlimited native Ubuntu app to connect to VPN. After disconnecting VPN Internet becomes slow, takes much time to load a website. I suspect it is some DNS related issue. I can reboot to fix it.
I found some change in the /etc/resolv.conf file. After VPN disconnection the contents of file,
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 10.200.0.1
nameserver 127.0.1.1
After rebooting the contents of file,
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
Not sure whether the slow Internet is due to the additional nameserver in the file which automatically gets added by VPN. Can anyone help to fix this ?
/etc/resolv.conf
to point you to a DNS server in their network, but "forgets" to undo the changes when it exits. Slow speed is due to every request first trying to resolve address using the host on10.×
and only uses the internal daemon upon timeout.