odoh-client-rs

Crates.ioodoh-client-rs
lib.rsodoh-client-rs
version0.1.9
sourcesrc
created_at2020-11-11 00:33:29.629001
updated_at2021-04-23 02:41:21.55049
descriptionRust client for Oblivious DNS over HTTPS (ODoH) protocol draft-03
homepage
repositoryhttps://github.com/cloudflare/odoh-client-rs/
max_upload_size
id311028
size71,403
Tanya Verma (tanyav2)

documentation

README

odoh-client-rs

Latest Version

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
Commit count: 28

cargo fmt