Subject: Re: [PATCH] Allow the use of IPv6 nameservers

Re: [PATCH] Allow the use of IPv6 nameservers

From: Jakub Hrozek <jhrozek_at_redhat.com>
Date: Fri, 12 Feb 2010 19:28:58 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/04/2010 02:32 PM, Yang Tse wrote:
> I won't be able to look into this at least until February 10. Besides
> the code changes it would also help if you described here the intended
> functional changes, even if not complete yet, so we don't have to
> discover them directly in the source code.
>

A new patch is attached that also fixes ares_dup() and adds the manpage.

Apart from the high-level summary in the patch itself, here's the changes:

  * struct "server state" no longer holds the address in "struct
in_addr" but rather "struct addrinfo *"
  * when initializing from resolv.conf, getaddrinfo() is used in place
of inet_addr()
  * a new API call ares_set_nameserves which can set the nameservers used
  * in order not to break "struct ares_options", ares_save_options and
ares_init_options still works with v4 nameservers only. ares_dup() works
for both v4 and v6 servers.

More info is, of course, in the patch :-)

        Jakub
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkt1neoACgkQHsardTLnvCXYwgCgwh5Y9k3FcovX8a14Qd7/ZXPQ
hFAAn30MAtep6FkKRIVuNsDOPEDZedZE
=StmA
-----END PGP SIGNATURE-----

Received on 2010-02-12