Comment 24 for bug 1674273

Revision history for this message
frigo (rigault-francois) wrote :

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