You are not logged in.

#1 2015-08-27 15:34:49

wil93
Member
From: Italy
Registered: 2013-09-15
Posts: 72

[SOLVED] Why is networkmanager not managing my DNS settings?

I use gnome-shell and I have set up my ipv4 settings so that the IP address is automatically fetched (dhcp) but the DNS server is not automatic.

xHIQYbe.png

The content of /etc/resolv.conf, however, is this:

# Generated by dhcpcd from wlp8s0.dhcp
# /etc/resolv.conf.head can replace this line
nameserver 192.168.1.1
# /etc/resolv.conf.tail can replace this line

Everytime I have to edit the file by hand to change it to 8.8.8.8

Why is networkmanager not managing my DNS settings?

Last edited by wil93 (2015-08-27 19:55:12)

Offline

#2 2015-08-27 16:07:30

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [SOLVED] Why is networkmanager not managing my DNS settings?

It says "Generated by dhcpcd". Did you manually compile networkmanager to reenable dhcpcd support, or are you running multiple network management services at the same time?

Offline

#3 2015-08-27 19:54:56

wil93
Member
From: Italy
Registered: 2013-09-15
Posts: 72

Re: [SOLVED] Why is networkmanager not managing my DNS settings?

Oh, you're right. I had both dhcpcd and network manager running.

# systemctl stop dhcpcd
# systemctl disable dhcpcd

And now the content of /etc/resolv.conf is:

# Generated by NetworkManager
nameserver 8.8.8.8
nameserver 8.8.4.4

Thank you smile

Offline

Board footer

Powered by FluxBB