Yaketty has either broken ndots or enforced it to 1.
ndots:1
ping host => search is appended. Never tried as fqdn.
ping host.name => search is not appended, even if nxdomain
ndots:2
ping host => search is appended. Never tried as fqdn.
ping host.name => search is not appended, even if nxdomain. This is bad.
ndots:3
ping host => search is appended. Never tried as fqdn.
ping host.name => search is not appended, even if nxdomain. This is bad.
Expected behaviour :
For queries with less than ndots : try to resolve with search-list appended, if it fails (nxdomain), try as FQDN/absolute name.
For queries with ndots or more dot : Only resolve as FQDN/absolute name.
Yaketty has either broken ndots or enforced it to 1.
ndots:1
ping host => search is appended. Never tried as fqdn.
ping host.name => search is not appended, even if nxdomain
ndots:2
ping host => search is appended. Never tried as fqdn.
ping host.name => search is not appended, even if nxdomain. This is bad.
ndots:3
ping host => search is appended. Never tried as fqdn.
ping host.name => search is not appended, even if nxdomain. This is bad.
Expected behaviour :
For queries with less than ndots : try to resolve with search-list appended, if it fails (nxdomain), try as FQDN/absolute name.
For queries with ndots or more dot : Only resolve as FQDN/absolute name.
Ubuntu GLIBC 2.24-3ubuntu2)