I am trying to setup a pi3 B+ as a router and cannot really understand how DNS resolution works in raspbian.
Before doing any router business, I am just trying to understand how dns resolution work on a pi.
/etc/resolv.conf contains
# Generated by resolvconf
nameserver 127.0.0.1
But when I try to use resolvectl I get
Failed to get global data: Unit dbus-org.freedesktop.resolve1.service not found.
and more oddly
systemd-resolved is not running.
On Ubuntu I have the same .conf file, but resolvectl works and the service is active.
So how does this work on a normal Pi? using a fully updated Raspbian.