Skip to main content

dnslib/vendors/technitium/
mapping.rs

1//! Technitium-specific type and parameter mapping.
2//!
3//! Technitium uses form-encoded HTTP POST parameters (`(&str, &str)` pairs)
4//! rather than JSON request bodies for most endpoints. Record-type-specific
5//! parameters are produced by [`core::dns::records::RecordData::to_api_params()`];
6//! zone/cache/stats/access-list parameters are constructed inline in the
7//! service trait implementations.
8//!
9//! When a feature requires Technitium-specific type conversions (e.g., mapping
10//! Technitium's JSON response fields to core domain types), the conversion
11//! logic belongs here.