Visit The New, Modern Unix Linux Community

Network Manager not setting correct DNS servers

Thread Tools Search this Thread
Operating Systems Linux Ubuntu Network Manager not setting correct DNS servers
# 1  
Network Manager not setting correct DNS servers

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

# 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:

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?

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.

# 3  
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.

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.


Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #706
Difficulty: Medium
Shared information bias is known as the tendency for group members to spend more time and energy discussing information that all members are already familiar with (i.e., shared information), and less time and energy discussing information that only some members are aware of.
True or False?

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help me setting up dns and understanding it.

Hi I need to set up a dns server for Oracle 11g rac setup. I got some files (copied from friend) named.conf and related files in /var/named , i was told that this would work fine. But i am getting some issues. I am attaching the files here. The problem is dig... (1 Reply)
Discussion started by: ankurk
1 Replies

2. IP Networking

DNS and Authoritative Servers

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 just yields: ;; QUESTION SECTION: ; IN A ;; ANSWER SECTION: 300 IN A 300 IN ... (8 Replies)
Discussion started by: Lost in Cyberia
8 Replies

3. Linux

Setting up slave DNS?

can someone point me in the right direction im trying to setup a Slave dns server this is my named.conf file zone "" { type slave; file"mydb-for-website1-org"; notify NO; };and this is my var/named/mydb-for-website1-org $TTL 3D @ IN SOA ... (1 Reply)
Discussion started by: gangsta
1 Replies

4. Shell Programming and Scripting

Setting the correct parameter

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... (5 Replies)
Discussion started by: superHonda123
5 Replies

5. AIX

Servers still querying old DNS server?

Hello, I've created new DNS servers and changed all of the clients /etc/resolv.conf to point to them, but when I check the old DNS logs, I see that the clients are still querying it. Does anybody know why? thanks, (2 Replies)
Discussion started by: ctcuser
2 Replies

6. AIX

Dns Servers

My only question is Can we have two auteritative Name servers for a single domain? Just a question. (1 Reply)
Discussion started by: vjm
1 Replies

7. Linux

setting primary dns

Hi, I am running Fedora 7. I seem to remember there being a command to determine the primary dns. Can anyone help me find out what it is? Thanks! (2 Replies)
Discussion started by: user23
2 Replies

8. IP Networking

My dns entries - are they correct ?

$ttl 38400 IN SOA digiserv. ( 1033481631 10800 3600 604800 38400 ) IN NS digiserv. IN A IN A (1 Reply)
Discussion started by: matt2kjones
1 Replies

9. UNIX for Dummies Questions & Answers

DNS servers

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 (5 Replies)
Discussion started by: ignus7
5 Replies

Featured Tech Videos