Subject: Re: Don't check /etc/hosts?

Re: Don't check /etc/hosts?

From: Brad House <brad_at_mainstreetsoftworks.com>
Date: Tue, 03 Jun 2008 22:13:52 -0400

> Is there a way to not check /etc/hosts? I'd rather not having the blocking
> I/O there.

Yes, use ares_init_options() instead of ares_init() and
set ARES_OPT_LOOKUPS in the optmask and set the 'lookups'
parameter in the options structure to "b", it defaults
to "fb".

-Brad
Received on 2008-06-04