Skip to main content

Module archive

Module archive 

Source
Expand description

Zero-Copy Binary Archive Format for DNS & SDN Records.

Provides persistent cold-storage serialization and memory-mapped reader for archived DNS NQuin statements, supporting long-term compliance, DNSSEC provenance tracking, and forensic network audits.

Conforms to QualiaDB Rule 0-A (zero heap in hot paths) and Rule 0-B (< 500 lines).

Structs§

DnsArchiveHeader
Fixed 64-byte Preamble for .qdns archive files.
DnsArchiveMmap
Zero-deserialization memory-mapped reader for .qdns archive files.

Constants§

QDNS_MAGIC
4-byte magic identifier for Qualia DNS Archive files: “QDNS”.

Functions§

read_dns_archive
Read archived NQuin records from an input stream into caller-supplied out_quins.
write_dns_archive
Write a batch of archived NQuin records to an output stream.