mirror of
https://github.com/n0-computer/iroh.git
synced 2026-11-30 00:01:16 +00:00
## Description Now that 1.0 is stable we should run our semver checks against the latest release, which is automatically found on crates.io. This also means we can enable caching for it. We do allow for adding deprecations, as per https://semver.org/#how-should-i-handle-deprecating-functionality ## Breaking Changes none ## Notes & open questions - This matches the changes in noq: https://github.com/n0-computer/noq/pull/734 - When there's a semver change that requires a new minor version the check will fail. We will have to increment the version number in the PR that requires this from now on. - iroh-dns-server didn't have the workspace lints enabled. I assume this was an oversight so added them. They are needed to pick up the semver config from the workspace Cargo.toml (there are some alternatives, but we want those lints). So this also fixes a few of the new lints and clippy warnings coming with that, luckily not much noise. ## Change checklist - [x] Self-review. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect.
iroh-dns-server
A server that functions as a pkarr relay and DNS server.
This server compiles to a binary iroh-dns-server. It needs a config file, of
which there are two examples included:
config.dev.toml- suitable for local developmentconfig.prod.toml- suitable for production, after adjusting the domain names and IP addresses
The server will expose the following services:
- A DNS server listening on UDP and TCP for DNS queries
- A HTTP and/or HTTPS server which provides the following routes:
/pkarr:GETandPUTfor pkarr signed packets/dns-query: Answer DNS queries over DNS-over-HTTPS
All received and valid pkarr signed packets will be served over DNS. The pkarr packet origin will be appended with the origin as configured by this server.
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.