Opened 12 years ago

Closed 12 years ago

#2977 closed Bug (fixed)

IPv6 nameserver address not handled

Reported by: naddy Owned by: charles
Priority: Normal Milestone: 1.92
Component: libtransmission Version: 1.91
Severity: Normal Keywords: IPv6, resolver, libevent
Cc:

Description

If you have only an IPv6 nameserver address in resolv.conf, Transmission fails to resolve tracker addresses. Until 1.82, unresolved names fell through to libcurl and were handled by the system resolver, but starting with 1.83, Transmission absolutely insists on resolving the host name of a tracker URL and will not talk to the tracker if this fails. Transmission uses the libevent DNS functions to resolve host names, but libevent 1.4 as bundled with Transmission does not handle name servers with an IPv6 address. (libevent 2.0 will include this functionality.)

Workarounds include adding an IPv4 nameserver address to resolv.conf or running a local name server on 127.0.0.1 that forwards queries.

Change History (5)

comment:1 Changed 12 years ago by naddy

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

Changeset 10303 should fix this.

I have tried one of the nightlies, 10334, and as expected name resolution of tracker addresses through an IPv6 name server now works fine.

comment:2 Changed 12 years ago by livings124

  • Milestone changed from None Set to 1.92

comment:3 Changed 12 years ago by charles

  • Resolution fixed deleted
  • Status changed from closed to reopened

reopening for attribution

comment:4 Changed 12 years ago by charles

  • Component changed from Transmission to libtransmission
  • Owner set to charles
  • Status changed from reopened to new

comment:5 Changed 12 years ago by charles

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.