Hi!
> +# Strip any trailing dot from each name as a FQDN does not belong
> +# in resolv.conf(5)
> +# If you think otherwise, capture a DNS trace and you'll see libc
> +# will strip it regardless.
> +# This also solves setting up duplicate zones in our subscribers.
> +strip_trailing_dots()
> +{
> + local n=
> +
> + for n; do
> + printf "%s" "${n%.}"
> + done
> + printf "\n"
> +}This specific change in openresolv removes all spaces separating names in the "search" or "domain" lines, because it doesn't print any whitespaces before/after stripped names. The result is: search domain1.tlddomain2.tlddomain3.tld It was fixed upstream: http://roy.marples.name/projects/openresolv/info/1e6ac67eb3c586a5 http://roy.marples.name/projects/openresolv/ci/53416cf1b434dbc1?sbs=0 However, it was not published in any release so far. -- Jean-Sébastien Pédron
signature.asc
Description: OpenPGP digital signature
