Registry / networking / trust-dns-server

trust-dns-server

JSON →
library0.23.2rscratesunverified

A safe and secure DNS server with DNSSEC support, based on Tokio and Futures.

# Cargo.toml [dependencies] trust-dns-server = "0.23.2"
INSTALL
IMPORT
SIG · TRUST-DNS-SERVER
T
trust-dns-server
networkingrustv0.23.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ServerFuture
use trust_dns_server::ServerFuture;

Starts a basic DNS server with default configuration.

use trust_dns_server::ServerFuture; use trust_dns_server::config::Config; let config = Config::default(); let mut server = ServerFuture::new(config); server.listen().await.unwrap();
Debug
Known issues
gotchaRequires Tokio runtime to run the server.
fix
Use `#[tokio::main]` or manually create a Tokio runtime.
affects: >=0.23.0
Upgrade
Version history
0.23.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Amazon
1
OpenAI (training)
1
Resources
trust-dns-server — cargo add trust-dns-server · libregistry