RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1404594 - [RFE] Export DNS configuration via D-Bus
Summary: [RFE] Export DNS configuration via D-Bus
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: NetworkManager
Version: 7.3
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: ---
Assignee: Beniamino Galvani
QA Contact: Desktop QE
Ioanna Gkioka
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:
Last Closed: 2017-08-01 09:22:07 UTC
Target Upstream Version:

Attachments (Terms of Use)

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

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.


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