Re: [reSIProcate] /etc/hosts is ignored
- From: Dmitry Semyonov <dsemyonov@xxxxxxx>
- Date: Wed, 14 Jun 2006 14:59:25 +0400 (MSD)
On Tue, 13 Jun 2006 at 20:02 +0400, Dmitry Semyonov wrote:
> Shouldn't ares_query() be updated with the code similar to
> ares_gethostby*() functions to use /etc/hosts?
Well, it should not. By design.
But then another question -- shouldn't DNS A queries be performed via
ares_gethostbyname() rather than via ares_query() inside
AresDns::lookup() (and LocalDns::lookup()?)?
--
...Bye..Dmitry.