mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-16 15:21:24 +01:00
use trust-dns for all DNS queries
Previously we were only using trust-dns for resolving SRV records in server discovery, and then for resolving the hostname from the SRV record target if one exists. With the previous behavior, admins need to ensure that both their system resolver and trust-dns are working correctly in order for outgoing traffic to work reliably. This can be confusing to debug, because it's not obvious to the admin if or when each resolver are being used. Now, everything goes through trust-dns and outgoing federation DNS should fail/succeed more predictably. I also expect some performance improvement from having an in-process DNS cache, but haven't taken measurements yet.
This commit is contained in:
parent
e249aed1cb
commit
6cb7896e17
4 changed files with 52 additions and 35 deletions
|
|
@ -150,6 +150,9 @@ This will be the first release of Grapevine since it was forked from Conduit
|
|||
database path.
|
||||
([!140](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/140),
|
||||
[!170](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/170))
|
||||
14. Use trust-dns for all DNS queries, instead of only for SRV records and SRV
|
||||
record targets in server discovery.
|
||||
([!156](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/156))
|
||||
|
||||
### Fixed
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue