After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 682377 - ifupdown-plugin: please support dns-* directives from resolvconf
ifupdown-plugin: please support dns-* directives from resolvconf
Status: RESOLVED OBSOLETE
Product: NetworkManager
Classification: Platform
Component: Distro-specific
unspecified
Other All
: Normal enhancement
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-08-21 17:20 UTC by Christoph Anton Mitterer
Modified: 2020-11-12 14:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christoph Anton Mitterer 2012-08-21 17:20:58 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.
Comment 1 Pavel Simerda 2012-08-24 15:10:48 UTC
> 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.
Comment 2 Christoph Anton Mitterer 2012-08-24 17:58:37 UTC
(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.
Comment 3 Dan Winship 2013-05-02 15:55:09 UTC
NM bugzilla reorganization... sorry for the bug spam.
Comment 4 Christoph Anton Mitterer 2013-05-11 19:18:05 UTC
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)?
Comment 5 Pavel Simerda 2013-05-11 22:43:03 UTC
(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.
Comment 6 Dan Williams 2013-05-13 18:53:14 UTC
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?
Comment 7 André Klapper 2020-11-12 14:25:39 UTC
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).