I need to use the open DNS : 18.104.22.168,22.214.171.124 in my network connection.
I use etisalat 3.75 USB modem HUAWEI in my Ubuntu 12.04 PC.
I had tried to add this DNS in :
with no success.
I'm not sure if your USB modem's network connection is managed by NetworkManager or not. If the network setup is static then you should be able to change the default DNS servers using the info in section #1, otherwise see the details in section #2.
1. DNS resolution using /etc/resolv.conf
On a Unix system there is a file called
This line says:
When the name is attempting to be resolved via mdns4_minimal the file
So to control your default DNS server you'd need to change the DNS server settings in this file,
If your network connection is being managed by NetworkManager then you can change the DNS settings through its configuration applets like so.