I do see this behavior on Lunar as well:
root@lunar:~# resolvectl query oops. oops.: resolve call failed: No appropriate name servers or networks for name found root@lunar:~# dig oops.
; <<>> DiG 9.18.12-1ubuntu1-Ubuntu <<>> oops. ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 21966 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 65494 ;; QUESTION SECTION: ;oops. IN A
;; Query time: 0 msec ;; SERVER: 127.0.0.53#53(127.0.0.53) (UDP) ;; WHEN: Tue Jun 20 20:53:32 UTC 2023 ;; MSG SIZE rcvd: 33
root@lunar:~# resolvectl --version systemd 252 (252.5-2ubuntu3) +PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified
I took a look at the code but I am not sure the best way to address this. Can you please open an upstream bug (https://github.com/systemd/systemd/issues) and share the link here? Be sure to mention that this can be reproduced on v252.
I do see this behavior on Lunar as well:
root@lunar:~# resolvectl query oops.
oops.: resolve call failed: No appropriate name servers or networks for name found
root@lunar:~# dig oops.
; <<>> DiG 9.18.12- 1ubuntu1- Ubuntu <<>> oops.
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 21966
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;oops. IN A
;; Query time: 0 msec 53#53(127. 0.0.53) (UDP)
;; SERVER: 127.0.0.
;; WHEN: Tue Jun 20 20:53:32 UTC 2023
;; MSG SIZE rcvd: 33
root@lunar:~# resolvectl --version hierarchy= unified
systemd 252 (252.5-2ubuntu3)
+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-
I took a look at the code but I am not sure the best way to address this. Can you please open an upstream bug (https:/ /github. com/systemd/ systemd/ issues) and share the link here? Be sure to mention that this can be reproduced on v252.