The automatic ISP DNS IP was faulty. Need to switch to another DNS server. Another problem was that Editing the resolv.conf would be overwritten.
Click on the Wi-fi button And select Network Connections:
Click on the Wifi Network you want to add the DNS addresses. From the resulting Dialogue box, click on the IPv4 Settings and add the Additional DNS servers e.g the OpenDNS IPs 188.8.131.52; 184.108.40.206 and then save:
Then Click on the Wi-Fi Icon and click on Network Settings. Then select the Preferences Icon (As shown in the screenshot below). Then Click on IPv4 and In the DNS Section Click on the Automatic ON button so that its OFF and then click Apply:
Network Preferences – IPv4 selection
Network Preferences – Save Changes
Finally turn of the Wifi and Turn it ON again and your changes should persist. You should be using the New DNS addresses IPs ONLY.