rust/headless-client/docs/debian_dns.md
As of Feb 16th, the code in Firezone will probably work well on Ubuntu. On Debian we'd need to either ask for systemd-resolved to be installed, or fall back on rewriting /etc/resolv.conf, since we don't cooperate with NM yet.
systemd-resolved built in to systemd itself. We can ignore NM for now and call resolvectlsystemd-resolved.systemd-resolved.Derived from this, with some redactions for brevity and blank lines for readability:
uname -r; dpkg -l | grep dns; dpkg -l | grep resolv; dpkg -l | grep network-manager; cat /etc/resolv.conf; which resolvectl;
5.15.0-94-generic
ii dnsmasq-base 2.80-1.1ubuntu1.6 amd64 Small caching DNS proxy and DHCP/TFTP server
ii network-manager 1.22.10-1ubuntu2.3 amd64 network management framework (daemon and userspace tools)
ii network-manager-config-connectivity-ubuntu 1.22.10-1ubuntu2.3 all NetworkManager configuration to enable connectivity checking
ii network-manager-gnome 1.8.24-1ubuntu3 amd64 network management framework (GNOME frontend)
# This file is managed by man:systemd-resolved(8). Do not edit.
/usr/bin/resolvectl
6.1.0-18-amd64
ii dnsmasq-base 2.89-1 amd64 Small caching DNS proxy and DHCP/TFTP server
ii network-manager 1.42.4-1 amd64 network management framework (daemon and userspace tools)
ii network-manager-gnome 1.30.0-2 amd64 network management framework (GNOME frontend)
# Generated by NetworkManager
nameserver 192.168.1.1
# resolvectl not installed
6.1.0-17-amd64
ii bind9-dnsutils 1:9.18.19-1~deb12u1 amd64 Clients provided with BIND 9
nameserver 192.168.1.1
nameserver 192.168.1.1
# resolvectl not installed