URL:
https://github.com/SSSD/sssd/pull/5245
Title: #5245: RESOLV: Avoid DNS search to improve fail-over reaction
sumit-bose commented:
"""
'hostname.subdomain' will still work through domain search if
subdomain is not a top level domain, wouldn't it?
Hi,
no, as @thalman suggested in
https://bugzilla.redhat.com/show_bug.cgi?id=1608496#c26 we
would check if there is a '.' in the name and since `hostname.subdomain` has a dot
we would add a dot to the end which would skip the domain searches.
Since we cannot reliable determine if what follows the '.' is a fully-qualified
domain or just the first part which has to be extended with what's available in
/etc/resolv.conf I guess we cannot avoid a config option which can switch `options.flags =
ARES_FLAG_NOSEARCH;` on and off.
bye,
Sumit
"""
See the full comment at
https://github.com/SSSD/sssd/pull/5245#issuecomment-688171034