On Thu, Feb 03, 2011 at 08:28:17AM +0000, D C wrote: > Problem: > > My problem is that I get "Couldn't resolve host name" everytime curl returns. > Upon further inspection in c-ares, I get the error "(Could not contact DNS > servers)" from c-ares. Then, I noticed that in the function waitperform() (in > hostares.c), the bitmask returned by ares_getsock is 0x0, which means, that > there are no fds used by c-ares to return DNS results. That sounds strange. > > I verified that the file, /etc/resolv.conf is present with a valid nameserver > entry. I also verified that ares/curl can read it properly. > > Any idea of what happened? Do I have the right packages for my platform? Is > there a bug that we should fix? > > I would appreciate any help.
Do the three c-ares test programs work on this platform? Can other programs on this system resolve hosts? Does curl work if recompiled to not use c-ares? >>> Dan ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
