Check your router for DNS server configuration. I am using act broadband in india and i need to change the router settings. By default, it is configured to get DNS server configuration from ISP which is ACT Broadband. I changed it to manual and used google public DNS IP address 188.8.131.52
Now all the websites opening fine.