mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-28 02:18:50 +00:00
Some dns servers return NXDOMAIN for queries where the address exists but there is no answer for the given query type(e.g. AAAA-only records). This is not up to spec and musl PROPERLY assumes that means there is no record of any type. Saddly, this happens even with google DNS so we can expect it to happen everywhere. So we use getaddrinfo to separate requests for A and AAAA queries and preventing this. Seems to work locally, though the exact situation where we have a record that returns NXDOMAIN while it exists is easier to reproduce in staging, we should test it after we merge. Fixes #3215
Connlib
Firezone's connectivity library shared by all clients.
Building Connlib
You shouldn't need to build connlib directly; it's typically built as a dependency of one of the other Firezone components. See READMEs in those directories for relevant instructions.