If the host uses systemd-networkd and systemd-resolved too, the containers can be resolved from the host.