resolver
ModuleResolvers: how a server answers a query.
Contents
use utopia_dns::resolver::Memory;Rust
pub struct MemoryAn authoritative resolver over one zone held in memory.
Multi-record answers are shuffled with its own generator, seeded from
the operating system unless given (Memory::with_seed).
use utopia_dns::resolver::Proxy;Rust
pub struct ProxyForwards queries to another DNS server over UDP.
use utopia_dns::resolver::Resolver;Rust
pub trait Resolver: Send + Sync + 'staticAnswers queries. Implement it to serve records from a database, an API or anything else; wrap another resolver to add tracing, rate limiting or caching around it.
An error makes the server answer SERVFAIL and report the error to its
error handlers.