Some Linux users, particularly those running Arch Linux, have reported experiencing delays in DNS requests when Twingate is active. These delays manifest as sporadic 5-second timeouts on network requests.
The root cause of this issue lies in the parallel resolution of IPv4 and IPv6 DNS queries by glibc, the GNU C Library. The glibc implementation of libresolv sends parallel IPv4 and IPv6 requests, if the server responds to the query out of order, the resolver experiences a 5-second timeout before proceeding to retry the requests sequentially.
Set the single-request option in the /etc/resolv.conf file. This option instructs glibc to perform IPv4 and IPv6 DNS requests sequentially, potentially mitigating the timeouts caused by parallel requests.
Resources: