Hi,
When specifying a server that has both A and AAAA DNS entries, irssi
will only connect to the IPv4 address; the IPv6 address will only be
used if the ``-6'' flag is specified on the /server command.
This is annoying when connecting from an IPv6-only network.
I suggest that irssi should treat all the addresses of a server as
a group, and connect to whichever is reachable at a given time. The
same should be true when a connection dies and the server is
recontacted to allow for mobility between the IPv4 and IPv6 internets.
You can test with
irc.geeknode.org
which is reachable using both IPv4 and IPv6.
Thanks for your help,
Juliusz
It also does not prefer IPv6 over IPv4 by default. Instead you need to set resolve_prefer_ipv6 to on. That seems like a bug to me, too. Kind regards Philipp Kern
Upstream is currently trying to improve the situation, if you are interested in helping out we welcome you to test the current git version from https://github.com/irssi/irssi.git and remark your findings on the discussion at https://github.com/irssi/irssi/pull/410 Thanks, Nei
Hi. This still appears to be broken: [(status)] /connect localhost 6697 06:40 -!- Irssi: Connection lost to localhost 06:40 -!- Irssi: Looking up localhost 06:40 -!- Irssi: Connecting to localhost [127.0.0.1] port 6697 06:40 -!- Irssi: Connection to localhost established This is wrong, it should connect to ::1 Same with external servers, irssi still preferse IPv4 for some reasons. Regards, Witold