resolvectl: clarify IDNA and search path logic in combination with "resolvectl query...
authorLennart Poettering <lennart@poettering.net>
Fri, 6 Nov 2020 19:10:40 +0000 (20:10 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 16 Feb 2021 08:51:17 +0000 (09:51 +0100)
commit018b642a98fc7d41ec7fa5157c9ce84677174ff5
treea482c15616f0ecf759650e059dfc59217771c8e7
parente557c82dd5867a790d37f0a165feb0570712516b
resolvectl: clarify IDNA and search path logic in combination with "resolvectl query --type="

When low-level RR resolution is requested from "resolvectl query" via
"--type=" or "--class=" no search domain logic is applied and no IDNA
translation.

Explain this in detail in the documentation, and also mentions this when
users attempt to resolve single-label names or names with international
characters in the output.

I believe the current behaviour is correct, but it is indeed surprising.
Hence the documentation and output improvement.

Fixes: #11325 #10737
man/resolvectl.xml
src/resolve/resolvectl.c