The resolv.conf automatically changes.
Hi, Sashank999. I agree with Rich that trying a different DNS server is an important step in troubleshooting your issue. A slow DNS server can have a dramatic impact on page load speed. I've experienced this issue myself.
Some network managers try to be "helpful" and automatically change the contents of /etc/resolv.conf. Openvpn sometimes also changes /etc/resolv.conf without your permission. There are different ways to prevent unauthorized changes to /etc/resolv.conf. An easy way that will work regardless of your setup is to make the file immutable. Go ahead and edit /etc/resolv.conf to your liking, then do this:
$ tce-load -wi e2fsprogs
$ sudo chattr +i /etc/resolv.conf
Now the file will be left in peace (until you reboot or run
sudo chattr -i /etc/resolv.conf) and you can see if the DNS server change helps your issue.