<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.network.dns.c-ares">
    <title>gmane.network.dns.c-ares</title>
    <link>http://blog.gmane.org/gmane.network.dns.c-ares</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.dns.c-ares/1136"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.dns.c-ares/1134"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.dns.c-ares/1121"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.dns.c-ares/1118"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.dns.c-ares/1109"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.dns.c-ares/1101"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.dns.c-ares/1091"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.dns.c-ares/1090"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.dns.c-ares/1071"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.dns.c-ares/1064"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.dns.c-ares/1057"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.dns.c-ares/1046"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.dns.c-ares/1045"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.dns.c-ares/1039"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.dns.c-ares/1035"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.dns.c-ares/1034"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.dns.c-ares/1022"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.dns.c-ares/1021"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.dns.c-ares/1019"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.dns.c-ares/1016"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.network.dns.c-ares/1136">
    <title>RELEASE: c-ares 1.10.0</title>
    <link>http://comments.gmane.org/gmane.network.dns.c-ares/1136</link>
    <description>&lt;pre&gt;Hi friends!

Almost eleven months since the previous release, I'm glad to announce a brand 
new c-ares tarball uploaded to the site: http://c-ares.haxx.se/

c-ares version 1.10.0

Changes:

  o Added ares_create_query(), to be used instead of ares_mkquery()
  o ares_inet_ntop() and ares_inet_pton() are now recognized c-ares functions

Bug fixes:

  o include the ares_parse_soa_reply.* files in the tarball
  o read_udp_packets: bail out loop on bad sockets
  o get_DNS_AdaptersAddresses: fix IPv6 parsing
  o adig: perror() doesn't work for socket errors on windows
  o ares_parse_aaaa_reply: fix memory leak
  o setup_once.h: HP-UX &amp;lt;sys/socket.h&amp;gt; issue workaround
  o configure: several fixes
  o config-dos.h: define strerror() to strerror_s_() for High-C
  o config-dos.h: define HAVE_CLOSE_S for MSDOS/Watt-32
  o ares_build.h.dist: enhance non-configure GCC ABI detection logic
  o ares.h: stricter CARES_EXTERN linkage decorations logic
  o ares_cancel(): cancel requests safely
  o protocol parsing: check input d&lt;/pre&gt;</description>
    <dc:creator>Daniel Stenberg</dc:creator>
    <dc:date>2013-05-12T13:55:21</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.dns.c-ares/1134">
    <title>ares_set_servers_csv and compressed IPv6 string</title>
    <link>http://comments.gmane.org/gmane.network.dns.c-ares/1134</link>
    <description>&lt;pre&gt;When passing in a compressed IPv6 string like "2001:4860:4860::8888" to
ares_set_servers_csv everything to the right of the first ":" in "::" is
stripped and interpreted as part of the port for the entry.

Is the intended behavior to require an IPv6 address in uncompressed
notation, or is this merely a bug?

On a tangent, is there any interest in actually supporting specifying the
port to be used? Conceptually I like the idea, but in practice I can't
imagine many people using it.
&lt;/pre&gt;</description>
    <dc:creator>Timothy J Fontaine</dc:creator>
    <dc:date>2013-05-08T22:27:12</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.dns.c-ares/1121">
    <title>Fixing a few errors and warning detected by coverity</title>
    <link>http://comments.gmane.org/gmane.network.dns.c-ares/1121</link>
    <description>&lt;pre&gt;Hi,

A colleague ran Coverity (a static analysis tool) against c-ares and 
fixed a few reported errors and warnings.

Please have a look at the attached patch.

Thanks.
&lt;/pre&gt;</description>
    <dc:creator>Patrick Valsecchi</dc:creator>
    <dc:date>2013-05-02T06:25:35</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.dns.c-ares/1118">
    <title>Patch to build current head (3f0ec47) on msvc11</title>
    <link>http://comments.gmane.org/gmane.network.dns.c-ares/1118</link>
    <description>&lt;pre&gt;Hi folks,

I'm a newcomer in the c-ares project and wanted to build it on my msvc11
(Visual C++ 2012), but I was failing to do so using the instructions in
https://github.com/bagder/c-ares/blob/master/Makefile.msvc

Since I figured out the issue, I thought I'd share the patch with you. Feel
free to use it.

Thanks
Alex

&lt;/pre&gt;</description>
    <dc:creator>Alex Loukissas</dc:creator>
    <dc:date>2013-05-01T17:44:13</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.dns.c-ares/1109">
    <title>Proposal for unittests</title>
    <link>http://comments.gmane.org/gmane.network.dns.c-ares/1109</link>
    <description>&lt;pre&gt;Hi,

In attachment, you'll find a small prototype of a unittest suite for 
c-ares. I didn't integrate it with the autotools stuff, since I don't 
know it (we use cmake). For the moment, it is only testing the 
ares_parse_txt_reply function.

I've used the simplest C testing framework I've found (CuTest) and I've 
fixed it a bit to remove a few memory leaks that were detected by valgrind.

What do you all think? Is the direction I'm taking OK with you?

Thanks and CU
&lt;/pre&gt;</description>
    <dc:creator>Patrick Valsecchi</dc:creator>
    <dc:date>2013-04-26T07:47:02</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.dns.c-ares/1101">
    <title>soname</title>
    <link>http://comments.gmane.org/gmane.network.dns.c-ares/1101</link>
    <description>&lt;pre&gt;Hi,

I was notified[1] by another developer that the SONAME of libcares is
always reported as 2.0.0 despite the latest versions having a larger API.

For example on my RHEL5 test box the c-ares version is quite old but
still the soname is reported as 2.0.0:
# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
# rpm -qf /usr/lib64/libcares.so
c-ares-devel-1.6.0-5.el5
# objdump -p /usr/lib64/libcares.so | grep SONAME
SONAME      libcares.so.2
# ls /usr/lib64/libcares.so*
/usr/lib64/libcares.so  /usr/lib64/libcares.so.2 /usr/lib64/libcares.so.2.0.0

On Fedora 18 we are using pretty much the latest c-ares, but the SONAME
is still the same:
# cat /etc/redhat-release 
Fedora release 18 (Spherical Cow)
# rpm -qf /usr/lib64/libcares.so
c-ares-devel-1.9.1-2.fc18.x86_64
# objdump -p /usr/lib64/libcares.so | grep SONAME
SONAME               libcares.so.2
# ls /usr/lib64/libcares.so*
/usr/lib64/libcares.so  /usr/lib64/libcares.so.2
/usr/lib64/libcares.so.2.0.0

Even the version in git in Make&lt;/pre&gt;</description>
    <dc:creator>Jakub Hrozek</dc:creator>
    <dc:date>2013-04-23T11:33:27</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.dns.c-ares/1091">
    <title>Parsing of 'Additional Records' in SRV response</title>
    <link>http://comments.gmane.org/gmane.network.dns.c-ares/1091</link>
    <description>&lt;pre&gt;Hi ,

I was just going through the c-ares API 'ares_parse_srv_reply' and was
wondering why it doesn't parse the 'additional record' section present in
the SRV response.
As in a multi-threaded architecture where you may want to minimize the
overall number of DNS queries per second for better performance, usage of
Additional Records can significantly reduce the need of 'A' queries or
reading the entries from /etc/hosts depending on the /etc/nsswitch.conf
file.
Any suggestions and/or comments are most welcome


Regards,
_Ayush
&lt;/pre&gt;</description>
    <dc:creator>ayush jain</dc:creator>
    <dc:date>2013-04-22T05:32:56</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.dns.c-ares/1090">
    <title>DNS servers on windows</title>
    <link>http://comments.gmane.org/gmane.network.dns.c-ares/1090</link>
    <description>&lt;pre&gt;Hi,

I have a lot of trouble using c-ares on one of my windows boxes.

The machine has two interfaces:
   1) configured with a static IP address and it has DNS in automatic 
mode, but doesn't find any.
   2) configured by DHCP and it receives a valid DNS interface

My problem is that windows (at least 7), in all it's glory, invents DNS 
addesses for my first interface with 3 addresses taken from an outdated 
draft RFC [1]. And for some reasons, it shows them multiple times when 
GetAdaptersAddresses is called.

So I end up with 13 DNS server addresses:

  * fec0:0:0:ffff::1
  * fec0:0:0:ffff::2
  * fec0:0:0:ffff::3
  * 10.104.48.2               &amp;lt;- my actual server
  * fec0:0:0:ffff::1
  * fec0:0:0:ffff::2
  * fec0:0:0:ffff::3
  * 10.104.48.2
  * fec0:0:0:ffff::1
  * fec0:0:0:ffff::2
  * fec0:0:0:ffff::3

c-ares doesn't behave very well with such setup. At each query, it will 
start over with the first server, wait for a timeout of 5 seconds and 
then try the second one, ... . So I have to wait 15s for each q&lt;/pre&gt;</description>
    <dc:creator>Patrick Valsecchi</dc:creator>
    <dc:date>2013-04-19T12:40:23</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.dns.c-ares/1071">
    <title>ares_parse_txt_reply's output is not usable for DNS-SD</title>
    <link>http://comments.gmane.org/gmane.network.dns.c-ares/1071</link>
    <description>&lt;pre&gt;Hi,

I'm using c-ares for doing DNS-SD. For that, I need to interpret TXT 
records formatted as specified in the DNS-SD spec [1]. Unfortunately, 
the ares_parse_txt_reply function just concatenates the sub-strings of 
the TXT record I get into a single string, loosing the information of 
the various key/value pairs contained in the TXT record.

To fix that, I see two solutions:

1) provide a second function that parses the TXT records that doesn't 
parse the length+value sub-strings and lets the caller do this part of 
the parsing.

2) change ares_parse_txt_reply to return another ares_txt_reply node for 
each sub-string.

I'd be happy to provide a patch for either solution.

While I'm writing to this mailing list, I've seen some discussions in 
the archives about doing an implementation for mDNS. What is the status 
on that?

Thanks for this nice library and have a nice day.

[1] http://tools.ietf.org/html/draft-cheshire-dnsext-dns-sd-11#section-6.1
&lt;/pre&gt;</description>
    <dc:creator>Patrick Valsecchi</dc:creator>
    <dc:date>2013-04-15T08:29:29</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.dns.c-ares/1064">
    <title>Really fix memory leak when parsing AAAA replies. (#10) (fwd)</title>
    <link>http://comments.gmane.org/gmane.network.dns.c-ares/1064</link>
    <description>&lt;pre&gt;FYI

&lt;/pre&gt;</description>
    <dc:creator>Daniel Stenberg</dc:creator>
    <dc:date>2013-04-10T06:59:20</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.dns.c-ares/1057">
    <title>[Patch] ares_strcasecmp.h</title>
    <link>http://comments.gmane.org/gmane.network.dns.c-ares/1057</link>
    <description>&lt;pre&gt;I think it would be best to decorate the following functions properly
in case they are to be exported from cares.dll:

--- Git-latest\ares_strcasecmp.h   Wed Jan 09 13:58:03 2013
+++ ares_strcasecmp.h        Thu Mar 10 22:31:33 2013
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -17,14 +17,15 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
  * without express or implied warranty.
  */

+#include "ares.h"
 #include "ares_setup.h"

 #ifndef HAVE_STRCASECMP
-extern int ares_strcasecmp(const char *a, const char *b);
+CARES_EXTERN int ares_strcasecmp(const char *a, const char *b);
 #endif

 #ifndef HAVE_STRNCASECMP
-extern int ares_strncasecmp(const char *a, const char *b, size_t n);
+CARES_EXTERN int ares_strncasecmp(const char *a, const char *b, size_t n);
 #endif

 #endif /* HEADER_CARES_STRCASECMP_H */

---------

All the a*.c samples could be using these functions.

--gv

&lt;/pre&gt;</description>
    <dc:creator>Gisle Vanem</dc:creator>
    <dc:date>2013-04-03T08:56:32</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.dns.c-ares/1046">
    <title>[PATCH 1/4] ares_cancel(): ensure cancellation of all requests</title>
    <link>http://comments.gmane.org/gmane.network.dns.c-ares/1046</link>
    <description>&lt;pre&gt;An invocation of ares_cancel() walks through the request list, calling
the callbacks of all pending requests on a channel. Previously, if such
a callback added a new request to the channel, the request list might
not end up empty, causing an abort by assertion failure. The present
commit ensures that all such newly added requests are cancelled
immediately and make it never into request list. Thus, the crash is
avoided, and it is made certain that upon return of ares_cancel(), there
are no requests whatsoever on the channel.
---
 ares.h               |    1 +
 ares_cancel.c        |    6 ++++++
 ares_gethostbyaddr.c |    6 ++++++
 ares_gethostbyname.c |    6 ++++++
 ares_getnameinfo.c   |    6 ++++++
 ares_private.h       |    3 +++
 ares_query.c         |    6 ++++++
 ares_search.c        |    6 ++++++
 ares_send.c          |    6 ++++++
 9 files changed, 46 insertions(+)

diff --git a/ares.h b/ares.h
index 9b3f376..8a9b995 100644
--- a/ares.h
+++ b/ares.h
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -140,6 +140,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; extern "C" {
 #define ARES_FLAG_&lt;/pre&gt;</description>
    <dc:creator>Alexander Klauer</dc:creator>
    <dc:date>2013-03-21T09:20:12</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.dns.c-ares/1045">
    <title>Cosmetic bugs in http://c-ares.haxx.se/ares_parse_a_reply.html and http://c-ares.haxx.se/ares_parse_aaaa_reply.html</title>
    <link>http://comments.gmane.org/gmane.network.dns.c-ares/1045</link>
    <description>&lt;pre&gt;Hi,

in the HTML pages mentioned in the subject, there are spurious '\fB' 
sequences in the synopses. Possibly they have to be changed to '\fP' in 
the source man pages, but I don't know enough roff to say for sure.

Best regards,
Alexander

&lt;/pre&gt;</description>
    <dc:creator>Alexander Klauer</dc:creator>
    <dc:date>2013-03-21T08:41:31</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.dns.c-ares/1039">
    <title>[PATCH] library init: be recursive</title>
    <link>http://comments.gmane.org/gmane.network.dns.c-ares/1039</link>
    <description>&lt;pre&gt;Previously, a single call to ares_library_cleanup() would deinitialise
the c-ares library, regardless of how many times ares_library_init() was
called. This behaviour may cause problems in programs linking two or
more libraries which, in turn, use c-ares. The present commit fixes this
problem, deinitializing the library only after a number of calls to
ares_library_cleanup() matching the number of calls to
ares_library_init().
---
 ares_library_init.c |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/ares_library_init.c b/ares_library_init.c
index f0137a1..770e7c2 100644
--- a/ares_library_init.c
+++ b/ares_library_init.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -101,7 +101,10 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; int ares_library_init(int flags)
   int res;
 
   if (ares_initialized)
-    return ARES_SUCCESS;
+    {
+      ares_initialized++;
+      return ARES_SUCCESS;
+    }
   ares_initialized++;
 
   if (flags &amp;amp; ARES_LIB_INIT_WIN32)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -122,6 +125,8 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; void ares_library_cleanup(void)
   if (!ares_initialized)
     return;
   ares_initialized--;
+  i&lt;/pre&gt;</description>
    <dc:creator>Alexander Klauer</dc:creator>
    <dc:date>2013-03-14T14:26:14</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.dns.c-ares/1035">
    <title>where is ares_free_soa ?</title>
    <link>http://comments.gmane.org/gmane.network.dns.c-ares/1035</link>
    <description>&lt;pre&gt;Hello all,

has anyone noticed that there is not ares_free_soa() anywhere in the code ?
There is the declaration in ares.h but the function is nowhere else.

I checked in the last release and in the last snapshot as well.

Am i missing something ?

Max

&lt;/pre&gt;</description>
    <dc:creator>Massimo</dc:creator>
    <dc:date>2013-03-06T16:16:06</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.dns.c-ares/1034">
    <title>AVG false positive?</title>
    <link>http://comments.gmane.org/gmane.network.dns.c-ares/1034</link>
    <description>&lt;pre&gt;Can anybody explain what happens in this NULL-case?

2013-02-22 19:49:05.226067 IP pcgv.2292 &amp;gt; google-public-dns-a.google.com.53: 64317+ A? 0.0.0.0.zz.countries.nerd.dk. (46)
2013-02-22 19:49:05.277156 IP google-public-dns-a.google.com.53 &amp;gt; pcgv.2292: 64317 NXDomain 0/1/0 (125)

My AVG-triggers an overzealous "treat warning". Attached picture from AVG.
What?

Win-XP SP3, MingW built acountry.exe from Git 3 days ago.

--gv
&lt;/pre&gt;</description>
    <dc:creator>Gisle Vanem</dc:creator>
    <dc:date>2013-02-24T13:40:56</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.dns.c-ares/1022">
    <title>undocumented but used functions</title>
    <link>http://comments.gmane.org/gmane.network.dns.c-ares/1022</link>
    <description>&lt;pre&gt;Hi all,

I noticed that acountry.c and ahost.c, two of our demo examples, use 
ares_inet_ntop() and ares_inet_pton().

None of these functions are part of our documented public API and I would like 
to clean this up.

Anyone who feels strongly enough about this subject to speak up for either 
making them part of the API or for properly removing the use of them from the 
examples?

&lt;/pre&gt;</description>
    <dc:creator>Daniel Stenberg</dc:creator>
    <dc:date>2013-02-13T14:00:13</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.dns.c-ares/1021">
    <title>Assertion in ares_cancel.c on channel-&gt;queries_by_qid check</title>
    <link>http://comments.gmane.org/gmane.network.dns.c-ares/1021</link>
    <description>&lt;pre&gt;Hi,

I've got similar assertion fails during ares_cancel and ares_destroy calls:
Assertion `ares__is_list_empty(&amp;amp;(channel-&amp;gt;queries_by_qid[i]))' failed
(../c-ares-1.9.1/ares_cancel.c:48)
Assertion `ares__is_list_empty(&amp;amp;(channel-&amp;gt;queries_by_qid[i]))' failed
(../c-ares-1.9.1/ares_destroy.c:65)

Could it be due c-ares API misuse? I didn't find any problems in
queries_by_qid cache related logic. I use c-ares 1.9.1 with curl-7.19.6.

&lt;/pre&gt;</description>
    <dc:creator>Evgeny Feoktistov</dc:creator>
    <dc:date>2013-02-13T11:08:51</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.dns.c-ares/1019">
    <title>Problem on free() method on Windows 7</title>
    <link>http://comments.gmane.org/gmane.network.dns.c-ares/1019</link>
    <description>&lt;pre&gt;Hello all,

I use c-ares 1.9.1 library in a program compiled with Visual C++ 6.0.
When I run the program on Windows XP, it's OK.
But, when I run the program on Windows 7, I have an error : "the program has
stopped working"...

By adding traces in my program, I noticed that the problem was on free() method.

For example:
_____________________________________________________________________
char *hostname = NULL;
...
int status = ares_expand_name (aptr, abuf, alen, &amp;amp;hostname, &amp;amp;len);
if (status != ARES_SUCCESS)
  return status;

if (hostname)
  free (hostname);&amp;lt;==&amp;gt; ERROR &amp;lt;==&amp;gt;
_____________________________________________________________________

Before doing free() on hostname, hostname is allocated in ares_expand_name()
method.
When I do a printf of "hostname" before calling free() method, hostname is OK,
it contain the good value.

Does someone has already encountered that problem ?
Or does someone has a solution to that problem ?

Thanks in advance,
Regards

&lt;/pre&gt;</description>
    <dc:creator>aur.hoffmann-GANU6spQydw&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2013-02-13T09:48:55</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.dns.c-ares/1016">
    <title>c-ares patch</title>
    <link>http://comments.gmane.org/gmane.network.dns.c-ares/1016</link>
    <description>&lt;pre&gt;Hello,

In the method "get_iphlpapi_dns_info" inside of "ares_init.c", instead
of this:

    /* process the results */
    for( pEntry = pFirstEntry ; pEntry != NULL ; pEntry = pEntry-&amp;gt;Next )
    {
      IP_ADAPTER_DNS_SERVER_ADDRESS* pDNSAddr = pEntry-&amp;gt;FirstDnsServerAddress;
      for( ; pDNSAddr != NULL ; pDNSAddr = pDNSAddr-&amp;gt;Next )
      {
        struct sockaddr *pGenericAddr = pDNSAddr-&amp;gt;Address.lpSockaddr;
        int stringlen = 0;


Shouldn't it be:

    /* process the results */
    for( pEntry = pFirstEntry ; pEntry != NULL ; pEntry = pEntry-&amp;gt;Next )
    {
      IP_ADAPTER_DNS_SERVER_ADDRESS* pDNSAddr = NULL;
      if( pEntry-&amp;gt;OperStatus != IfOperStatusUp )
         continue;

      pDNSAddr = pEntry-&amp;gt;FirstDnsServerAddress;
      for( ; pDNSAddr != NULL ; pDNSAddr = pDNSAddr-&amp;gt;Next )
      {
        struct sockaddr *pGenericAddr = pDNSAddr-&amp;gt;Address.lpSockaddr;
        int stringlen = 0;


We have a customer complaining about enabled (but not connected)
interfaces being used for their DNS configuration&lt;/pre&gt;</description>
    <dc:creator>David Stuart</dc:creator>
    <dc:date>2013-01-08T18:04:32</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.dns.c-ares/1014">
    <title>'options single-request' support in c-ares?</title>
    <link>http://comments.gmane.org/gmane.network.dns.c-ares/1014</link>
    <description>&lt;pre&gt;Hello,

Is there currently any support in c-ares for the 'options single-request'
option in resolver.conf? (
http://man7.org/linux/man-pages/man5/resolver.5.html).  We are trying to
use libcurl for our system which could potentially be deployed behind some
restrictive firewalls, and the way that glibc sends parallel A and AAAA
queries from the same source port will cause an eventual timeout.  The
'option single-request' config option is supposed to fix this (sending the
two requests from two different source ports) for the system resolver, and
it does, but for anything using libcurl (e.g. curl command-line, pycurl),
the parallel queries come from the same source port, and we're stuck with
the timeout.  Can an option be set in c-ares to control this behavior?

Thanks in advance,
*
*
*Trey Duskin*
&lt;/pre&gt;</description>
    <dc:creator>Trey Duskin</dc:creator>
    <dc:date>2012-12-10T21:37:31</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.network.dns.c-ares">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.network.dns.c-ares</link>
  </textinput>
</rdf:RDF>
