accept trailing . and empty domain names
authorSzabolcs Nagy <nsz@port70.net>
Fri, 6 Jun 2014 17:20:07 +0000 (19:20 +0200)
committerSzabolcs Nagy <nsz@port70.net>
Fri, 6 Jun 2014 18:41:15 +0000 (20:41 +0200)
commit07355f503a9b0a3ab7a051e2931499a4c5898b15
tree2807935cfeca2b4bc8335352d7b134fa5b58f0e7
parent9ce2860fa34ede8f84b8ca5ac1746a58b171a023
accept trailing . and empty domain names

trailing . should be accepted in domain name strings by convention
(RFC 1034), host name lookup accepts "." but rejects empty "", res_*
interfaces also accept empty name following existing practice.
src/network/lookup_name.c
src/network/res_mkquery.c
src/network/res_querydomain.c