From: Jeff Layton <jlayton@kernel.org>
To: kdevops@lists.linux.dev
Cc: chuck.lever@oracle.com
Subject: systemd-resolved and single-label DNS entries
Date: Tue, 26 Aug 2025 06:58:45 -0400 [thread overview]
Message-ID: <5a2d4ed91a7baf8487f37310c808bf615dcd834e.camel@kernel.org> (raw)
I'm hitting a problem with NFS testing on kdevops guests. Recently when
I bring up a guest, it's unable to resolve the name of the NFS server
via DNS.
When guests are brought up, kdevops currently registers their names in
DNS without any domain. For instance, the hostname "kdevops-nfsd" gets
a hostname in DNS of "kdevops-nfsd." (with no domain).
The DNS server on the KVM host will resolve a name like that just fine,
but systemd-resolved will not forward requests for those names via DNS.
It will only attempt a LLMNR request (which gets no response). I think
this is by design:
https://github.com/systemd/systemd/issues/2514
I'm not sure of the best way to fix this. I can see a couple of
options:
1/ We could create a bogus domain name (.example.com? .kdevops?) and
put it in all of the search paths for the guests.
2/ Alternately, maybe we could go all-in on LLMNR and get that working.
I have zero experience with that, so I'm not sure what it entails. This
might also be problematic for guests that have no LLMNR lookup
capability.
--
Jeff Layton <jlayton@kernel.org>
next reply other threads:[~2025-08-26 10:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-26 10:58 Jeff Layton [this message]
2025-08-26 12:53 ` systemd-resolved and single-label DNS entries Daniel Gomez
2025-08-26 14:21 ` Jeff Layton
2025-08-26 15:07 ` Chuck Lever
2025-08-26 15:49 ` Jeff Layton
2025-08-26 16:32 ` Jeff Layton
2025-08-26 19:04 ` Daniel Gomez
2025-08-27 13:25 ` Jeff Layton
2025-08-26 18:16 ` Daniel Gomez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5a2d4ed91a7baf8487f37310c808bf615dcd834e.camel@kernel.org \
--to=jlayton@kernel.org \
--cc=chuck.lever@oracle.com \
--cc=kdevops@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox