signalapp / Signal-Desktop

A private messenger for Windows, macOS, and Linux.
https://signal.org/download
GNU Affero General Public License v3.0
14.68k stars 2.68k forks source link

build: use `resolve4`/`resolve6` in `build:dns-fallback`. #6958

Closed jnsgruk closed 3 months ago

jnsgruk commented 3 months ago

First time contributor checklist:

Contributor checklist:

Description

dns.lookup relies on making syscalls to the underlying system using getaddrinfo, which can sometimes fail in proxy situations.

This is an equivalent implementation using the native NodeJS DNS functions.

ayumi-signal commented 3 months ago

Thanks so much for your contribution! It's been merged internally and it will show up with the next beta release in about a week.