Presently name service is implemented by calling whatever
gethostbyname(2) uses. This may be any or all of
/etc/hosts, NIS, DNS, or something completely different.
Typically it's controlled by /etc/nsswitch.conf.
Direct links to the asynchronous resolver(3) routines would be
nice to have eventually, so that we can do DNS lookups in parallel
with other things
Returns a
host-entinstance forhost-nameor throws some kind of condition.host-namemay also be anipaddress in dotted quad notation or some other weird stuff-see gethostbyname(3) for grisly details.