- Package:
- network-manager
- Source:
- network-manager
- Description:
- network management framework (daemon and userspace tools)
- Submitter:
- Yves-Alexis Perez
- Date:
- 2022-06-18 19:15:03 UTC
- Severity:
- normal
- Tags:
Hi, I'd like to add some options in my /etc/resolv.conf, currently managed by network-manager (btw the header is wrong, it says: # Modified_by: NetworkManager # Process: /usr/bin/NetworkManager While there is no NetworkManager in /usr/bin (it's in /usr/sbin) The option I added is: prepend domain-search "corsac.net"; But it does *not* appear in the final resolv.conf. n-m should respect options from dhclient.conf (I guess it uses dhclient) or at least provide a way to add options. Cheers,
Hey? Is there any news on this issue? Cheers,
Yves-Alexis Perez wrote: The upcoming 0.7 release will allow to specifiy custom DNS settings on a per connection basis, like dns server, dns search domains etc. Cheers, Michael
Hi,
I just saw your bug report. Did you try to install the resolvconf
package ? It seems to me a better solution than asking each program
that can manage /etc/resolv.conf to do the same work with the same
workarounds...
Regards,
Vincent
Hmh ok. Installing resolvconf fixes the problem. Cheers,
Hi, I think this issue is solved, but to close the bug it'd be nice if that solution could be presented to the user, for example by adding resolvconf to Suggests: and adding a note in README.Debian. Cheers,
Along the same line, network-manager has a hard-wired DHCP timeout in src/dhcp-manager/nm-dhcp-manager.c (currently 45 seconds) which overrides whatever entry set in /etc/dhcp3/dhclient.conf