Opened 10 years ago

Closed 10 years ago

#2622 closed defect (wontfix)

uclibc/ resolver defaults to ipv6 request before ipv4

Reported by: alex@… Owned by: developers
Priority: normal Milestone:
Component: base system Version:
Keywords: Cc:


uCLibc is built with ipv6 enabled, in getaddrinfo (name resolver library sub), the default is to make a AAAA IPv6 request before a A IPv4 request.

static struct gaih gaih[] =
    { PF_INET6, gaih_inet },
    { PF_INET, gaih_inet },
#if 0
    { PF_LOCAL, gaih_local },

This is not the same as on x86/glibc systems, where a IPv4 is made first and then, you have the option to give ipv6 a higher priority by setting inet6 in /etc/resolv.conf

If would be good for uClibc to be able to handle ipv6 request but not to make them the higher priority


Attachments (0)

Change History (1)

comment:1 Changed 10 years ago by florian

  • Resolution set to wontfix
  • Status changed from new to closed

If you have IPv6 connectivity and you do not specify anything, IPv6 DNS resolving is made first, then it fallback to IPv4.

This bug should rather be reported to the uClibc people.

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.