Network Manager not setting correct DNS servers


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Old 06-02-2017
Network Manager not setting correct DNS servers

Since a few weeks i use Ubuntu 16 on my laptop:

Code:
# uname -a
Linux xxxx 4.8.0-52-generic #55~16.04.1-Ubuntu SMP Fri Apr 28 14:36:29 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Because i want to use a custom name server i set the properties in the "Edit Connections" dialogue to the following:

Code:
[...]
Method: Automatic (DHCP) addresses only
[...]
DNS Servers: <list of IP-addresses with DNS servers>

And i expected that any time i use this connection that the respective DNS servers are automatically put into the file /etc/resolv.conf (which is actually a link to /run/resolvconf/resolv.conf, as it should be, i am told).

Still, this doesn't happen and in /etc/resolv.conf a name server provided by the DHCP server is mentioned instead of the ones i entered. What am i doing wrong?

bakunin
This User Gave Thanks to bakunin For This Post:
RavinderSingh13 (06-06-2017)
# 2  
Old 06-03-2017
Is this bug related to your issues (looks similar):
Bug #1671606 “DNS server from vpn connection is not being used a...” : Bugs : network-manager package : Ubuntu

This is VPN in question, but symptoms seem to be alike.

If you can, try downgrading packages mentioned in the bug and retest.

Regards
Peasant.
# 3  
Old 06-06-2017
Quote:
Originally Posted by Peasant
Actually this looks similar, but not quite, because their DNS-servers become set at some point - my problem is that it doesn't. The behavior i get is the same as if i would select "DHCP" instead of "DHCP -Adresses only". It also happens regardless of the network selected, even when i use a non-WiFi connection.

Quote:
Originally Posted by Peasant
If you can, try downgrading packages mentioned in the bug and retest.
I will try that anyways (i got nothing to lose) and will report back. Right now i had to took the laptop in question to repair because the keyboard is broken (unrelated to this) so it will take a few days.

Thanks for the hint.

bakunin
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Domain registrars & DNS servers coolatt Linux 5 11-09-2015 02:19 PM
Help me setting up dns and understanding it. ankurk UNIX for Dummies Questions & Answers 1 08-17-2014 09:55 AM
DNS and Authoritative Servers Lost in Cyberia IP Networking 8 12-06-2013 01:17 PM
Setting up slave DNS? gangsta Linux 1 04-05-2012 08:55 PM
Setting the correct parameter superHonda123 Shell Programming and Scripting 5 07-02-2010 05:51 AM
Setting up local DNS Server skamal4u Solaris 1 07-22-2009 07:10 PM
Select DNS Servers depending on the domain martincastell IP Networking 4 05-15-2009 04:17 PM
Servers still querying old DNS server? ctcuser AIX 2 08-07-2008 09:27 AM
Dns Servers vjm AIX 1 03-19-2008 08:45 AM
setting primary dns user23 Linux 2 12-05-2007 01:56 PM
My dns entries - are they correct ? matt2kjones IP Networking 1 10-01-2002 12:28 PM
DNS servers ignus7 UNIX for Dummies Questions & Answers 5 06-19-2002 05:52 PM
Setting Up Dns Server In Bsd BSD_NEWUSER UNIX for Dummies Questions & Answers 1 10-23-2001 07:28 PM
How can I use DNS Server to Load Balancing my Web Servers ?? ottobian UNIX for Advanced & Expert Users 1 09-01-2001 02:11 PM