rdoh

Crates.iordoh
lib.rsrdoh
version0.2.1
created_at2025-11-27 14:25:26.334988+00
updated_at2025-11-28 07:46:46.295295+00
descriptionDoH resolver
homepage
repositoryhttps://github.com/gabrielecabrini/rdoh
max_upload_size
id1953836
size54,473
Gabriele Cabrini (gabrielecabrini)

documentation

README

DoH Resolver

Crates.io Version

A simple Rust command-line DNS-over-HTTPS (DoH) client, similar to dig

Features

  • Resolve DNS queries over HTTPS
  • Supports custom DNS servers
  • Allows querying different record types (A, AAAA, CNAME, etc.)
  • Supports the DO (DNSSEC OK) and CD (Checking Disabled) flags

Installation

From source

cargo install --path .

From crates.io

cargo install rdoh

Or run directly

cargo run -- example.com

Usage

Basic query

rdoh example.com

Specify a record type

rdoh example.com AAAA

Using a custom DoH server (default is cloudflare.com)

rdoh example.com AAAA https://dns.google/dns-query

Enable DO / CD flags

rdoh example.com A --do --cd
Commit count: 0

cargo fmt