DNS: Try FQDN if initial lookup fails
commitce49acb6c43a263228ba938ed65f554f3be846d8
authorKevin Cernekee <cernekee@gmail.com>
Mon, 19 Nov 2012 18:26:44 +0000 (19 10:26 -0800)
committerKevin Cernekee <cernekee@gmail.com>
Mon, 26 Nov 2012 00:19:47 +0000 (25 16:19 -0800)
tree54d79ee128f9ece381b64b3b061e62ec86a11b6c
parentc0bf30e45ea4616967f1ab668b60b8c658017456
DNS: Try FQDN if initial lookup fails

Users may pass in unqualified or "semi-qualified" hostnames.  If we have
a default domain name configured, use it to perform a second lookup if the
initial attempt fails.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
contrib/ports/unix/proj/ocproxy/ocproxy.c