Hello!
I made the changes to the /etc/hosts file earlier today and it was working fine for a bit. Now its again giving me the same error.
Currently when I run nslookup www.googleapis.com I get the below output.
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer:
Name: www.googleapis.com
Address: IPValue