DNS search domain `.` not added to resolv.conf for local resololution.
A search domain of .
added to a connection is ignored when generating resolv.conf, eg.:
ipv4.dns-search: .,some.domain,another.domain
Only some.domain
and another.domain
are added to resolv.conf, .
is ignored:
# Generated by NetworkManager
search some.domain another.domain
nameserver 127.0.0.1
nameserver ::1
Allowing .
to be added would allow host names to be resolved from local host files without a domain before being resolved via DNS. Currently, unless all search domains are removed, host names are always searched as an FQDN and so can never match a domainless local host file entry.