]> jfr.im git - solanum.git/commit
Don't append a domain to names without dot from reverse lookup.
authorJilles Tjoelker <redacted>
Fri, 16 Jan 2015 22:23:56 +0000 (23:23 +0100)
committerJilles Tjoelker <redacted>
Fri, 16 Jan 2015 22:23:56 +0000 (23:23 +0100)
commit3881a3ce5d68ff5fd0bc152c46924b33997821fa
tree223b88056c31268bebc0b014123e535376eaad76
parent3c80b42532bcd6924b6afb3cf6609b1d285906ac
Don't append a domain to names without dot from reverse lookup.

Some code to append "domain" from /etc/resolv.conf to unqualified names (for
server connections) erroneously applied to names from reverse DNS lookups as
well.

The effect was that "domain" from /etc/resolv.conf was appended to
"localhost", even though the DNS server intended "localhost" to be a fully
qualified name.
src/res.c