jsnjack
(Yauhen Shulitski)
November 1, 2019, 6:57am
1
Hi,
After upgrading from Fedora 30 to Fedora 31 prepending DNS servers to /etc/resolv.conf has stopped working. I have the following configuration to achieve it (used to work before):
$ cat /etc/dhcp/dhclient.conf
prepend domain-name-servers 127.0.0.1;
What is the new way of achieving the same?
1 Like
vgaetera
(Vladislav Grigoryev)
November 1, 2019, 8:08am
2
NetworkManager.conf: NetworkManager Reference Manual
dhcp
This key sets up what DHCP client NetworkManager will use. Allowed values are dhclient
, dhcpcd
, and internal
. The dhclient
and dhcpcd
options require the indicated clients to be installed. The internal
option uses a built-in DHCP client which is not currently as featureful as the external clients.
If this key is missing, it defaults to internal
. It the chosen plugin is not available, clients are looked for in this order: dhclient
, dhcpcd
, internal
.
Post the output:
rpm -q dhcp-client
grep -v -e "^#" -e "^$" /etc/NetworkManager/{*.conf,conf.d/*}
1 Like
jsnjack
(Yauhen Shulitski)
November 1, 2019, 9:56am
3
Thanks @vgaetera !
I created file /etc/NetworkManager/conf.d/10-dhcp.conf
with the following content:
[main]
dhcp=dhclient
and it works again!
system
(system)
Closed
November 29, 2019, 9:56am
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.