Set DNS Servers For All Wifi Networks

Patrick Asselman iceblink at seti.nl
Thu Sep 11 09:24:16 UTC 2014


On 2014-09-10 21:56, Colin Law wrote:
> 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

Using your own DNS server list can prevent you becoming victim of DNS 
spoofing attacks.
It is definately a good idea to use your own DNS server list on a 
public wifi spot.
(But it is not sufficient to really be safe!)

http://www.cs.wustl.edu/~jain/cse571-07/ftp/cafecrack/#Section4

Best regards,
Patrick Asselman




More information about the ubuntu-users mailing list