[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: IPv6 and IPv4 resolver preferences



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

Felipe Alfaro Solana wrote:

> from hostA to nameserver, standard query AAAA hostB
> from nameserver to hostA, standard query response AAAA 2000::1
> from hostA to nameserver, standard query A hostB
> from nameserver to hostA, standard query response A 192.168.0.1
> from hostA to nameserver, standard query A hostB
> from nameserver to hostA, standard query response A 192.168.0.1
> from hostA to nameserver, standard query AAAA hostB
> from nameserver to hostA, standard query response AAAA 2000::1
> from hostA to hostB(192.168.0.1), 32805 > telnet [SYN] Seq=0 Ack=0
> Win=5840...
> 
> As you can see, the hostA resolver is querying twice for A and AAAA RR,
> which seems completely strange.

It's not strange at all.  The second set of lookups is for the canonical
host name.

Anyway, all this is mood with the current glibc code.  Once you get
2.3.3-53 or higher, try it again.


And IPv6 addresses are always looked but if requested and there is an
IPv6 interface defined on your system.  If you don't want any IPv6
lookups, remove all IPv6 interfaces.

- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBSiup2ijCOnn/RHQRAsO4AJ4z4GTikO7wF/lkXE0I+3Pz3y0iVQCghRvV
Wa/xTXEBZc8HVsdshKAMfv4=
=hfr1
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]