Unable to get DNS configuration from snap

Bug #1976305 reported by Pierre Bouffard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
In Progress
Medium
Paweł Stołowski

Bug Description

There does not appear to be a means to read DNS configuration from within a snap - even with the 'network-control' interface in use. AppArmor denials are encountered.

Would it be possible to supplement the 'network-control' interface to be able to retrieve the following information?

For example:
<snip>
$ resolvectl status eno1
Link 4 (eno1)
Current Scopes: DNS
DefaultRoute setting: yes
LLMNR setting: yes
MulticastDNS setting: no
DNSOverTLS setting: no
DNSSEC setting: no
DNSSEC supported: no
Current DNS Server: 192.168.2.1
DNS Servers: 192.168.2.1
DNS Domain: localdomain
</snip>

Thanks.

Revision history for this message
Paweł Stołowski (stolowski) wrote :
Changed in snappy:
assignee: nobody → Paweł Stołowski (stolowski)
importance: Undecided → Medium
status: New → In Progress
Michael Vogt (mvo)
affects: snappy → snapd
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.