Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Aug 21, 2011
  1. @bagder

    CHANGES: generate from script

    bagder authored
    The CHANGES file is now generated automatically with '',
    invoked by the maketgz script which is used to build release archives.
    The former human edited CHANGES file was renamed to CHANGES.0 in git.
Commits on Aug 16, 2011
  1. @bagder
Commits on Dec 8, 2010
  1. @bagder
Commits on Jun 11, 2010
  1. @bagder

    changelogs: updated for 1.7.3

    bagder authored
  2. @bagder
Commits on Mar 23, 2010
  1. @bagder


    bagder authored
  2. @bagder


    bagder authored
Commits on Mar 5, 2010
  1. @bagder
Commits on Jan 28, 2010
  1. @bagder

    - Tommie Gannert pointed out a silly bug in ares_process_fd() since i…

    bagder authored
    …t didn't
      check for broken connections like ares_process() did. Based on that, I
      merged the two functions into a single generic one with two front-ends.
Commits on Nov 30, 2009
  1. @bagder

    start working on 1.7.1

    bagder authored
Commits on Oct 29, 2009
  1. @bagder
Commits on Sep 4, 2009
  1. @bagder
Commits on Aug 3, 2009
  1. @bagder

    - Timo Teras changed the reason code used in the resolve callback don…

    bagder authored
    …e when
      ares_cancel() is used, to be ARES_ECANCELLED instead of ARES_ETIMEOUT to
      better allow the callback to know what's happening.
  2. @bagder

    - Joshua Kwan fixed the init routine to fill in the defaults for stuf…

    bagder authored
    …f that
      fails to get inited by other means. This fixes a case of when the c-ares
      init fails when internet access is fone.
Commits on May 11, 2009
  1. @bagder

    - Gregor Jasny made c-ares link with libtool 's -export-symbols-regex…

    bagder authored
    … option to
      only expose functions starting with ares_.
Commits on Jan 31, 2009
  1. @bagder

    - ares_gethostbyname() now accepts 'AF_UNSPEC' as a family for resolving

    bagder authored
      either AF_INET6 or AF_INET. It works by accepting any of the looksups in the
      hosts file, and it resolves the AAAA field with a fallback to A.
Commits on Jan 14, 2009
  1. @bagder

    - ares.h no longer uses the HAVE_STRUCT_IN6_ADDR define check, but in…

    bagder authored
    …stead it
      now declares the private struct ares_in6_addr for all systems instead of
      relying on one possibly not present in the system.
Commits on Jan 11, 2009
  1. @bagder

    - Phil Blundell added the internal function ares__expand_name_for_res…

    bagder authored
      that is now used by the ares_parse_*_reply() functions instead of the
      ares_expand_name() simply to easier return ARES_EBADRESP for the cases where
      the name expansion fails as in responses that really isn't expected.
Commits on Dec 4, 2008
  1. @bagder

    Gregor Jasny provided the patch that introduces ares_set_socket_callb…

    bagder authored
    and I edited it to also get duped by ares_dup().
Commits on Dec 3, 2008
  1. @bagder

    Introduce ares_dup(3) and new thoughts about API/ABI and how to move …

    bagder authored
    Also discussed on the ml.
Commits on Nov 19, 2008
  1. @bagder

    - Brad Spencer brought the new function ares_gethostbyname_file() whi…

    bagder authored
    …ch simply
      resolves a host name from the given file, using the regular hosts syntax.
Commits on Nov 1, 2008
  1. @bagder

    - Carlo Contavalli added support for the glibc "rotate" option, as do…

    bagder authored
      in man resolv.conf:
      causes round robin selection of nameservers from among those listed.  This
      has the effect of spreading the query load among all listed servers, rather
      than having all clients try the first listed server first every time.
      You can enable it with ARES_OPT_ROTATE
Commits on Oct 17, 2008
  1. @bagder

    Charles Hardin made adig support a regular numerical dotted IP addres…

    bagder authored
    …s for the
    -s option as well.
Commits on Aug 29, 2008
  1. @bagder

    Version 1.5.3

    bagder authored
Commits on Aug 4, 2008
  1. @bagder

    - Fix by Tofu Linden:

    bagder authored
      The symptom:
      * Users (usually, but not always) on 2-Wire routers and the Comcast service
      and a wired connection to their router would find that the second and
      subsequent DNS lookups from fresh processes using c-ares to resolve the same
      address would cause the process to never see a reply (it keeps polling for
      around 1m15s before giving up).
      The repro:
      * On such a machine (and yeah, it took us a lot of QA to find the systems
      that reproduce such a specific problem!), do 'ahost';,
      then do it again.  The first process's lookup will work, subsequent lookups
      will time-out and fail.
      The cause:
      * init_id_key() was calling randomize_key() *before* it initialized
      key->state, meaning that the randomness generated by randomize_key() is
      immediately overwritten with deterministic values. (/dev/urandom was also
      being read incorrectly in the c-ares version we were using, but this was
      fixed in a later version.)
      * This makes the stream of generated query-IDs from any new c-ares process
      be an identical and predictable sequence of IDs.
      * This makes the 2-Wire's default built-in DNS server detect these queries
      as probable-duplicates and (erroneously) not respond at all.
Commits on Jul 3, 2008
  1. @bagder

    - Phil Blundell: If you ask ares_gethostbyname() to do an AF_INET6 lo…

    bagder authored
    …okup and
      the target host has only A records, it automatically falls back to an
      AF_INET lookup and gives you the A results.  However, if the target host has
      a CNAME record, this behaviour is defeated since the original query does
      return some data even though ares_parse_aaa_reply() doesn't consider it
      relevant. Here's a small patch to make it behave the same with and without
      the CNAME.
Commits on Jun 30, 2008
  1. @bagder

    - As was pointed out to me by Andreas Schuldei, the MAXHOSTNAMELEN de…

    bagder authored
    …fine is
      not posix or anything and thus c-ares failed to build on hurd (and possibly
      elsewhere). The define was also somewhat artificially used in the windows
      port. Now, I instead rewrote the use of gethostbyname to enlarge the host
      name buffer in case of need and totally avoid the use of the MAXHOSTNAMELEN
      define. I thus also removed the defien from the namser.h file where it was
      once added for the windows build.
      I also fixed init_by_defaults() function to not leak memory in case if
Commits on May 29, 2008
  1. @bagder


    bagder authored
Commits on May 13, 2008
  1. @bagder

    - Introducing millisecond resolution support for the timeout option. See

    bagder authored
      ares_init_options()'s ARES_OPT_TIMEOUTMS.
Commits on May 7, 2008
  1. @bagder

    - Sebastian made c-ares able to return all PTR-records when doing rev…

    bagder authored
      lookups. It is not common practice to have multiple PTR-Records for a single
      IP, but its perfectly legal and some sites have those.
  2. @bagder

    - Doug Goldstein provided a configure patch: updates autoconf 2.13 us…

    bagder authored
    …age to
      autoconf 2.57 usage (which is the version you have specified as the minimum
      version). It's a minor change but it does clean up some warnings with newer
      autoconf (specifically 2.62).
Commits on Apr 4, 2008
  1. @bagder
  2. @bagder
  3. @bagder
Commits on Dec 3, 2007
  1. @bagder
Something went wrong with that request. Please try again.