Applicable to:

Overview

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.

Symptoms

Troubleshooting

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.

Resolution

Resources: 

resolv.conf man page