Giter Site home page Giter Site logo

odoh-client-rs's Introduction

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

odoh-client-rs's People

Contributors

chris-wood avatar cjpatton avatar sudheesh001 avatar tanyav2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

odoh-client-rs's Issues

Cryptic "Error: io error: failed to fill whole buffer" error

The example currently fails to run with a cryptic error message. Perhaps some more context could be added? For example, did an error occur while fetching the odohconfig from DNS, or while parsing the ODoH proxy response?

$ cargo run -- example.com AAAA
    Finished dev [unoptimized + debuginfo] target(s) in 0.39s
     Running `target/debug/odoh-client-rs example.com AAAA`
Error: io error: failed to fill whole buffer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.