Set DNS Servers For All Wifi Networks

Colin Law clanlaw at gmail.com
Wed Sep 10 19:56:39 UTC 2014


On 10 September 2014 20:42, Sajan Parikh <sajan at parikh.io> wrote:
> Right now, I can go into the connection manager, choose a wireless network
> and update the DNS servers to use by setting the IPv4 to Automatic DHCP,
> address only.  However, when I connect to another network, the default is to
> pull an IP address from the DHCP along with the DNS servers.
>
> Is there a way for me to default all new connections to DHCP Address Only,
> and set some sort of permanent DNS servers?  I thought about throwing them
> into /etc/resolv.conf, but I assume that gets overwritten everytime I switch
> connections.

I cannot help with the problem but would be interested to know why one
would want to use specific DN Servers.

Colin




More information about the ubuntu-users mailing list