This option is enabled by default. This option is enabled by default. Network daemons should set this option. If no server is configured, the host running the resolver is tried. This is similar to the search command in the configuration file.
Initialization normally occurs on the first call to one of the other resolver routines.
It constructs a query, sends it to the local server, awaits a response, and makes preliminary checks on the reply. The reply message is left in the answer buffer with length anslen supplied by the caller. It returns the first successful reply. It returns the size of the query, or -1 if the query is larger than buflen . The domain name for the query is given by dname .