systemd-resolve fails to resolve hostnames when using bind9

I fixed this by getting rid of systemd-resolved:

systemctl disable systemd-resolved.service
systemctl stop systemd-resolved