I can confirm this behaviour with any hostname I tried (including e.g. www.google.com).
The "problem" seems the interaction between links2 and "torsocks" (and also "torify" which does more or less the same).
It surely not a DNS or TLD detection issue, because both, "links2 https://dev.lemmy.ml/communities/page/1" as well as "links2 -socks-proxy localhost:9050 -only-proxies 1 https://dev.lemmy.ml/communities/page/1" (which is the official way of using links2 with Tor).
And "tor-resolve dev.lemmy.ml" works as expected, too.
It is though currently unclear to me, _why_ links2 doesn't seem to work with "torsocks" or "torify".
I can confirm this behaviour with any hostname I tried (including e.g. www.google.com).
The "problem" seems the interaction between links2 and "torsocks" (and also "torify" which does more or less the same).
It surely not a DNS or TLD detection issue, because both, "links2 https:/ /dev.lemmy. ml/communities/ page/1" as well as "links2 -socks-proxy localhost:9050 -only-proxies 1 https:/ /dev.lemmy. ml/communities/ page/1" (which is the official way of using links2 with Tor).
And "tor-resolve dev.lemmy.ml" works as expected, too.
It is though currently unclear to me, _why_ links2 doesn't seem to work with "torsocks" or "torify".