Unable to get DNS configuration from snap
Bug #1976305 reported by
Pierre Bouffard
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.
Changed in snappy: | |
assignee: | nobody → Paweł Stołowski (stolowski) |
importance: | Undecided → Medium |
status: | New → In Progress |
affects: | snappy → snapd |
To post a comment you must log in.
Related PR: https:/ /github. com/snapcore/ snapd/pull/ 11830