host and nslookup can resolve hostname, ssh isn’t

I can resolve a hostname without FQDN, using just the shortname with host and nslookup. But ping and ssh can’t. This is because resolv.conf has a limitation of 6 domains or 256 characters in the search list

man resolv.conf
The search list is currently limited to six domains with a total of 256 characters.
Advertisements