iroh icon indicating copy to clipboard operation
iroh copied to clipboard

tests: add tests for DNS-over-HTTPS to iroh-dns-server

Open Frando opened this issue 3 weeks ago • 3 comments

Description

Our DoH support in iroh-dns-server is broken: #3737

We didn't have any tests for DoH before.

This adds end-to-end tests that test resolving DoH records via HTTP and HTTPS via reqwest, and via hickory-resolver.

While working on this, I realized that we currently do not change the storage path in tests, which is bad can can lead to very unexpected behavior when running tests concurrently. This also fixes that by allowing to pass in the storage path.

Breaking Changes

Notes & open questions

Change checklist

  • [ ] Self-review.
  • [ ] Documentation updates following the style guide, if relevant.
  • [ ] Tests if relevant.
  • [ ] All breaking changes documented.
    • [ ] List all breaking changes in the above "Breaking Changes" section.
    • [ ] Open an issue or PR on any number0 repos that are affected by this breaking change. Give guidance on how the updates should be handled or do the actual updates themselves. The major ones are:

Frando avatar Dec 08 '25 10:12 Frando