If you are facing this issue means you have misconfiguration of DNS records in your mac. Please follow the steps to resolve your issue.
1. Open System Preferences
2. Navigate to Network -> Advanced -> DNS.
3. In the left side column add in the IP as 220.127.116.11 and 18.104.22.168.
4. Click OK -> Apply.
Now go to your browser and check google.com