Skip to content

cloudflare/odoh-client-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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