nix-community/nix-on-droid

Mosh DNS not working

Closed this issue · 1 comments

On the other hand, SSH works fine. I'm using the dnshack LD_PRELOAD thing, because the host is on a wireguard VPN.

❯ mosh h81.casa.lan
/nix/store/7qhh3n9xvglaqiyzg1dd0wyhvgyyvx68-mosh-1.4.0/bin/.mosh-wrapped: could not get canonical name for h81.casa.lan: Name or service not known
Connection closed by UNKNOWN port 65535
/nix/store/7qhh3n9xvglaqiyzg1dd0wyhvgyyvx68-mosh-1.4.0/bin/.mosh-wrapped: Did not find remote IP address (is SSH ProxyCommand disabled?).

It seems it works fine using --experimental-remote-ip=remote. I think then it uses SSH to do resolution, instead of resolving with whatever method mosh uses.