Network Manager not setting correct DNS servers


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
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:
# 2  
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  
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
DNS and Authoritative Servers
Lost in Cyberia
Hey everyone, I've noticed that when I do a dig command, I don't get any authoritative records back. For example a dig to cnn.com just yields: ;; QUESTION SECTION: ;cnn.com. IN A ;; ANSWER SECTION: cnn.com. 300 IN A 157.166.226.25 cnn.com. 300 IN ...... IP Networking
8
IP Networking
Setting the correct parameter
superHonda123
Hi Gurus, Here is the issue that I've encountered. VAR1=`hostname | tr '' ''` -> convert hostname to uppercase VAR2=`grep $VAR1 /etc/hosts | awk '{ print $1 }'` -> Since hostname is already in uppercase, grep is unable to find it in /etc/hosts. How to handle VAR2? Is there a...... Shell Programming and Scripting
5
Shell Programming and Scripting
Dns Servers
vjm
My only question is Can we have two auteritative Name servers for a single domain? Just a question.... AIX
1
AIX
My dns entries - are they correct ?
matt2kjones
$ttl 38400 thedigitaldream.co.uk. IN SOA digiserv. admin.thedigitaldream.co.uk. ( 1033481631 10800 3600 604800 38400 ) thedigitaldream.co.uk. IN NS digiserv. thedigitaldream.co.uk. IN A 81.97.225.82 www.thedigitaldream.co.uk. IN A 81.97.225.82...... IP Networking
1
IP Networking
DNS servers
ignus7
I am supposed to setup a Domain Name Server, and I don't really know how to do this, can someone either help me, or point me in the direction of a site that has a good explination of how to do this. Thanks, Ronnie... UNIX for Dummies Questions & Answers
5
UNIX for Dummies Questions & Answers