Open your terminal, type this :
$ sudo /etc/resolv.conf
Append/ type this into your resolv.conf. This is opendns servers.
Save and close the file. Test your dns configuration by typing the following commands:
If you prefer malaysian name servers, you can check it here.
$ host google.com.my
$ nslookup ubuntu.com
$ ping mindaict.blogspot.com