This still occurs in Focal.
nslookup "respects the dots" as it calls the systemd resolver, and as per man
resolved.conf(5)
Domains=
A space-separated list of domains. These domains are used as search
suffixes when resolving single-label host names (domain names which contain no
dot)
to get this behavior on ping you need ping to switch to the systemd resolver
("resolve" in nsswitch) which is achieved with apt install libnss-resolve
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1674273
Title:
Resolver ignores ndots option
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1674273/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs