Hi,
It appears that evdns_addrinfo functions doesn't return any static values configured in /etc/hosts
struct evutil_addrinfo hints;
ZERO_STRUCT(hints);
hints.ai_family = AF_INET;
hints.ai_socktype = SOCK_STREAM;
req = evdns_getaddrinfo(a_dns,
"www.zyx.com",
NULL,
&hints,
dns_cb,
ip_addr);
Is there any option to make it look at /etc/hosts as well.
Thanks a lot
for the help,
Krishna