Cannot Resolve Names When Host Is Running Systemd-Resolved

When running qemu-system-x86_64 on an Arch Linux host, my guests, various live Linux CDs, would ping IP addresses, but not resolve hostnames. Eventually, I applied the fix indicated by https://bbs.archlinux.org/viewtopic.php?id=253005, namely to add explicit nameserver lines to my hosts's otherwise empty /etc/resolv.conf file, and now my guests can resolve hostnames.

QEMU 7.0.0, systemd 251.4, Arch Linux, kernel 5.19.6-arch1-1.

I use iwd/iwctl and systemd-resolved over WiFi.

I will provide more details if necessary.

Thank you.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information