IPv6 and IPv4 resolver preferences

Ulrich Drepper drepper at redhat.com
Fri Sep 17 00:11:21 UTC 2004


-----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-----





More information about the fedora-devel-list mailing list