| Crates.io | odoh-client-rs |
| lib.rs | odoh-client-rs |
| version | 0.1.9 |
| created_at | 2020-11-11 00:33:29.629001+00 |
| updated_at | 2021-04-23 02:41:21.55049+00 |
| description | Rust client for Oblivious DNS over HTTPS (ODoH) protocol draft-03 |
| homepage | |
| repository | https://github.com/cloudflare/odoh-client-rs/ |
| max_upload_size | |
| id | 311028 |
| size | 71,403 |
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.
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