res_send and Ipv6 address

Stefan Puiu stefan.puiu at gmail.com
Thu Aug 18 20:29:26 UTC 2005


I fail to understand what you want to do. If you want to fetch the
IPv6 address for a domain name, you just need to do an AAAA query
instead of A. The ext part in the resolver state, IIRC, is used to
store IPv6 addresses of nameservers, but you shouldn't worry about
that; the nsaddr[] vector is read in from /etc/resolve.conf, see
lib/resolv/res_init.c in the BIND 8 source, or look for the res_init()
function (I can't seem to remember the name of the actual function it
calls to do the work, was it res_vinit?).

On 8/16/05, appaji arunkumar <arun_appaji at yahoo.co.in> wrote:
>=20
> Hi I am a Navie user to DNS.
>=20
> I would like to know, does BIND8 queries such as
> res_send(),  used if the underlying socket is IPv6.
> and we are intresed to retrive the IPv6 address from
> the name server. Given an IPv6 address of name server
> X , is it possible that we can get IPv6 address for
> the given domain name by adding address to
> _res.EXT.ext->nsaddr[].sin, please suggest me am i
> going in a right track??
>=20
> Thanx in advance,
> Arun.
>=20
>=20
>=20
>=20
>=20
>=20
> ____________________________________________________
> Send a rakhi to your brother, buy gifts and win attractive prizes. Log on=
 to http://in.promos.yahoo.com/rakhi/index.html
>=20
>=20
>



More information about the bind-users mailing list