[systemd-devel] [RFC] systemd-resolved: Send d-bus signal after DNS resolution
Dave Howorth
systemd at howorth.org.uk
Wed Feb 16 12:13:20 UTC 2022
On Tue, 15 Feb 2022 22:37:41 +0000
Suraj Krishnan <surajkr at microsoft.com> wrote:
> Hello,
>
> I'm reaching out to the community to gather feedback about a feature
> to broadcast a d-bus signal notification from systemd-resolved when a
> DNS query is completed. The message would contain information about
> the query and IP addresses received from the DNS server.
Sorry, I'm just an ignorant user but surely this woulkd have privacy
implications? If I make a DNS request from an application, I expect
that to be private, not shared with whatever other processes or users
might be on the system.
> This could be used by applications for auditing/logging services
> downstream of the resolver, or to update the firewall on the system.
Perhaps an example use case would help but I'm not clear how a DNS
resolution would usefully cause a state change in the firewall without
some further external guidance?
> I'm not familiar with how the code is written to be able to determine
> the feasibility of this approach, or if there is a better way to
> accomplish this. I welcome suggestions for this feature.
>
> Thanks,
> Suraj
More information about the systemd-devel
mailing list