Bug 1404594 - [RFE] Export DNS configuration via D-Bus
Summary: [RFE] Export DNS configuration via D-Bus
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: NetworkManager
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Beniamino Galvani
QA Contact: Desktop QE
Ioanna Gkioka
URL:
Whiteboard:
Depends On:
Blocks: 1393481
TreeView+ depends on / blocked
 
Reported: 2016-12-14 08:29 UTC by Beniamino Galvani
Modified: 2017-08-01 09:22 UTC (History)
9 users (show)

Fixed In Version: NetworkManager-1.8.0-0.2.git20170215.1d40c5f4.el7
Doc Type: Release Note
Doc Text:
DNS configuration is now supported through the D-Bus API Previously, external applications could not easily retrieve the `DNS` parameters used by *NetworkManager*. With this update, DNS configuration has been supported through the D-Bus API. As a result, all DNS-related information, including name servers and domains, is available to client applications through the D-Bus API of *NetworkManager*. An example of such application is the *nmcli* tool, which can now display DNS configuration.
Clone Of:
Environment:
Last Closed: 2017-08-01 09:22:07 UTC


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:2299 normal SHIPPED_LIVE Moderate: NetworkManager and libnl3 security, bug fix and enhancement update 2017-08-01 12:40:28 UTC
GNOME Bugzilla 603321 None None None 2016-12-14 08:29:43 UTC

Description Beniamino Galvani 2016-12-14 08:29:43 UTC
The DNS configuration learned by NM should be available through
D-Bus. This has many advantages: first, clients can figure out which
DNS servers are currently in use. One complaint that we hear often
when using dnsmasq is that the current DNS configuration can't be
easily retrieved. With the configuration available via D-Bus it
becomes possible to show it through nmcli.

Also, this should allow a better cooperation with other tools that
also manage the DNS. In principle, the user could set dns=none in NM
and have an external process pull the DNS parameters from NM to apply
them.

Comment 1 Beniamino Galvani 2016-12-14 13:28:58 UTC
Feature now available upstream (see GNOME bugzilla entry).

Comment 4 errata-xmlrpc 2017-08-01 09:22:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2017:2299


Note You need to log in before you can comment on or make changes to this bug.