< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate] /etc/hosts is ignored


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.