10 releases
0.1.9 | Apr 23, 2021 |
---|---|
0.1.8 | Feb 3, 2021 |
0.1.6 | Dec 18, 2020 |
0.1.1 | Nov 21, 2020 |
#13 in #doh
25 downloads per month
21KB
234 lines
odoh-client-rs
odoh-client-rs is a CLI Rust client that can be used to access resolvers running the Oblivious DNS over HTTPS (ODoH) protocol draft-06. It is built using the odoh-rs library. It is mainly intended for testing as it can only send one request at a time.
Example usage
The proxy and resolver are configured using the file specified by the -c
flag, e.g., -c config.toml
. The default configuration can be found at tests/config.toml
. It uses https://odoh.cloudflare-dns.com, i.e., 1.1.1.1, as the target resolver, and a well known endpoint to retrieve the configs via GET
requests.
$ cargo run -- example.com AAAA
Dependencies
~20–34MB
~505K SLoC