GNOME Bugzilla – Bug 682377
ifupdown-plugin: please support dns-* directives from resolvconf
Last modified: 2020-11-12 14:25:39 UTC
Hi. With resolvconf, /etc/network/interfaces can be extended by the following directives (per connection): dns-name‐servers dns-search and dns-sortlist There is also a directive "dns-domain" but this one is deprecated in favor of dns-search. The exact details of the options (as far as they're not self-explanatory) can be found in the resolvconf(8) manpage. Supporting the above should be fairly simply, as they just need to be parsed and added to the respective properties. Cheers, Chris.
> The exact details of the options (as far as they're not self-explanatory) can > be found in the resolvconf(8) manpage. Just a remark. This has to be a Debian/Ubuntu resolvconf(8) manpage as these are distro-specific additions to this package. > Supporting the above should be fairly simply, as they just need to be parsed > and added to the respective properties. Correct.
(In reply to comment #1) > Just a remark. This has to be a Debian/Ubuntu resolvconf(8) manpage as these > are > distro-specific additions to this package. That can be: See either here for the current manpage from Debian: http://anonscm.debian.org/gitweb/?p=resolvconf/resolvconf.git;a=blob_plain;f=man/resolvconf.8;hb=HEAD Cheers, Chris.
NM bugzilla reorganization... sorry for the bug spam.
Has anything happened in this area? Cause it seems nowadays, at least the search-entries are taken over. Even though it takes sometimes a few minutes for them to show up (which is quite strange)?
(In reply to comment #4) > Has anything happened in this area? No active debian/ubuntu developers in the Cc list, so you're not likely to get a reply here. At least this is what I was going to tell you. But I might have something for you. > Cause it seems nowadays, at least the > search-entries are taken over. The only commits of interest upstream are: commit c308e75b928f5ccf76d9b6ca4d06b587b4a0a6d6 Author: Dan Winship <danw@gnome.org> Date: Tue Feb 12 18:00:48 2013 -0500 core: allow marking a device unmanaged by its interface name Virtual devices often don't have stable hardware addresses. So allow for marking a device unmanaged via its interface name instead. https://bugzilla.gnome.org/show_bug.cgi?id=693684 commit cda65e180230af41dbb6914d5cc1be5d0fb3b4d0 Author: Dan Winship <danw@gnome.org> Date: Thu Mar 7 09:45:07 2013 -0500 settings: read/write NMSettingConnection:interface-name https://bugzilla.gnome.org/show_bug.cgi?id=693684 But that does make sense. I also looked at the plugins/ifupdown code and the dns options are there. Even if you switched from a version that already had the dns bits there, with the recent master you could see the improved connection matching. > Even though it takes sometimes a few minutes for them to show up (which is > quite strange)? The log possibly could tell you why that happens.
dns-search looks to be supported by the ifupdown plugin, but the others are not. Are the interface directives or global ones? Note that dns-nameservers is supported, which I assume is the same thing as domain-name-servers. Is there any reason there are essentially two options for the same thing?
bugzilla.gnome.org is being shut down in favor of a GitLab instance. We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time. If you still use NetworkManager and if you still see this bug / want this feature in a recent and supported version of NetworkManager, then please feel free to report it at https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/ Thank you for creating this report and we are sorry it could not be implemented (workforce and time is unfortunately limited).