~nickbp/originz

ref: 41895a73626b9e101ebd940b9de825c18ceb27f1 originz/src/lib.rs -rw-r--r-- 1.4 KiB
41895a73Nick Parker Only build binary in docker build 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/// Local and Redis cache clients.
pub mod cache;

/// Clients for querying upstream DNS servers over various protocols/methods
pub mod client;

/// Parsers/generators for converting raw DNS messages into equivalent framebuffer representations
pub mod codec;

/// Utilities relating to Kapiti toml configuration.
pub mod config;

/// Filters/overrides to be applied before querying upstream DNS servers
pub mod filter;

/// Utilities relating to downloading data over HTTP to local disk.
pub mod http;

/// Implements support for running the hyper HTTP library against smol, not tokio.
/// This allows me to stop blowing hours of work every 4-6 months to keep Kapiti on the Tokio upgrade treadmill.
/// The hyper integration is also set up to resolve hosts against ourselves, instead of the system resolver.
pub mod hyper_smol;

/// Listens to a TCP socket for incoming requests, adding them to a channel.
pub mod listen_tcp;

/// Listens to a UDP socket for incoming requests, adding them to a channel.
pub mod listen_udp;

/// Utilities relating to setting up log output.
pub mod logging;

/// Runs a DNS query, checking for matching filters or going to the upstream resolver
pub mod lookup;

/// Wraps one or more DNS clients and performs queries through them
pub mod resolver;

/// Runs the UDP/TCP listeners and worker threads.
pub mod runner;

/// Definitions of serializable framebuffer representations for DNS messages
pub mod specs;

extern crate packed_struct_codegen;