> What do you mean exactly with this request? The IP of the DNS server is stored in /etc/resolv.conf and fetched (normaly) by dhclient. What feature you are asking for?
I am asking on a way to change them. I want to always use OpenDNS instead of the DNSs provided by the connection I am connecting to, _especially_ when this connection is provided by Hotels or even worse by public WIFIs in some cities. > You can find good examples on [1] about how to do this with the nmcli utility. This looks promising indeed! I tried to scroll briefly, I'll give it a try asap :) Davide Alberelli 2015-07-13 17:07 GMT+09:00 Simon Busch <[email protected]>: > From what I know changing the DNS server through the UI isn't possible > currently. Changing /etc/resolv.conf is also not a suitable solution as it > is > managed by resolvconf/nm and gets overriden when the connection > changes. > > Best way is to tell network-manager directly about this and let it use a > different DNS server for your connections. You can find good examples > on [1] about how to do this with the nmcli utility. > > regards, > Simon > > [1]: > https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/sec-Using_the_NetworkManager_Command_Line_Tool_nmcli.html > > On Sun, Jul 12, 2015 at 8:37 PM, Matthias Apitz <[email protected]> wrote: > >> El día Sunday, July 12, 2015 a las 09:30:42PM +0300, mrl586 escribió: >> >> > If DHCP server not working, we need set those address manually. Is this >> > possible with Ubuntu Phone? >> >> Hello mrl586, >> >> 1. do not top post; >> 2. do not ask me, but the list (cc'ed) >> 3. ofc, you can use the terminal-app and set/edit whatever value you want >> into the file /etc/resolv.conf; but if DHCP is not working you should >> blame your mobile provider or the manager of the Wifi AP >> >> matthias >> >> > 2015-07-12 20:06 GMT+03:00 Matthias Apitz <[email protected]>: >> > >> > > >> > > >> > > 2015-07-12 19:17 GMT+04:00 Davide Alberelli <[email protected]>: >> > >> >> > >> Hi, >> > >>> Is there a way one can change the dns associated to a particualr >> > >>> connection? >> > >>> >> > >> >> > > What do you mean exactly with this request? The IP of the DNS server >> is >> > > stored in /etc/resolv.conf and fetched (normaly) by dhclient. What >> feature >> > > you are asking for? >> > > >> > > matthias >> > > >> > > >> > > >> > > -- >> > > Sent from my Ubuntu phone >> > > http://www.unixarea.de/ >> > > >> > > >> > > -- >> > > Mailing list: https://launchpad.net/~ubuntu-phone >> > > Post to : [email protected] >> > > Unsubscribe : https://launchpad.net/~ubuntu-phone >> > > More help : https://help.launchpad.net/ListHelp >> > > >> >> -- >> Matthias Apitz, [email protected], http://www.unixarea.de/ >> +49-176-38902045 >> No! Nein! ¡No! Όχι! -- Ευχαριστούμε! >> >> -- >> Mailing list: https://launchpad.net/~ubuntu-phone >> Post to : [email protected] >> Unsubscribe : https://launchpad.net/~ubuntu-phone >> More help : https://help.launchpad.net/ListHelp >> > > > -- > Mailing list: https://launchpad.net/~ubuntu-phone > Post to : [email protected] > Unsubscribe : https://launchpad.net/~ubuntu-phone > More help : https://help.launchpad.net/ListHelp > >
-- Mailing list: https://launchpad.net/~ubuntu-phone Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp

