CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/dnsrecord

README.md

dnsrecord — Typeset DNS Records in

A package for typesetting DNS records, zone files, propagation status tables, and DNSSEC indicators in technical documents.

Features

  • Color-coded record type badges (A, AAAA, CNAME, MX, NS, TXT, SOA, PTR, SRV, CAA)
  • Shorthand commands for all common DNS record types
  • dnszone environment for complete zone file tables
  • dnspropagation environment for multi-server propagation checks
  • DNSSEC status indicators (valid, invalid, unsigned)
  • Configurable: colors, monospace, TTL display, compact mode

Quick Start

\usepackage{dnsrecord}

% Inline records
\dnsA{example.com}{93.184.216.34}[300]
\dnsMX{example.com}{10}{mail.example.com}[3600]

% Zone table
\begin{dnszone}{example.com}
  \dnsentry{A}{@}{93.184.216.34}[300]
  \dnsentry{CNAME}{www}{example.com}[3600]
  \dnsentry{MX}{@}{mail.example.com (pri 10)}[3600]
\end{dnszone}

% Propagation check
\begin{dnspropagation}{example.com}{A}
  \dnsserver{Google}{8.8.8.8}{93.184.216.34}{propagated}
  \dnsserver{Cloudflare}{1.1.1.1}{93.184.216.34}{propagated}
\end{dnspropagation}

Dependencies

booktabs, tabularx, xcolor, xparse, etoolbox, pgfkeys (all in Live / MiK).

License

Project Public License v1.3c or later. See https://www.latex-project.org/lppl.txt

Author

Vahid Shaik — https://dnsrobot.net

Bug Reports

https://github.com/dnsrobot/latex-dnsrecord

Download the contents of this package in one zip archive (397.6k).

dnsrecord – Typeset DNS records, zone files, propagation tables, and DNSSEC chains

A comprehensive package for typesetting DNS (Domain Name System) data in technical documents. Provides 22 color-coded record type commands (A, AAAA, CNAME, MX, NS, TXT, SOA, PTR, SRV, CAA, DNSKEY, DS, RRSIG, NSEC, NSEC3, TLSA, HTTPS, SVCB, SPF, DKIM, DMARC), seven environments for zone file tables, propagation status displays, DNSSEC chain-of-trust diagrams, DNS health check reports, email authentication summaries, latency comparisons, and provider tables. Includes utility commands for formatting domains, IPs, TTLs with human-readable conversion, DNS response codes, and query flags. Designed for network engineers, system administrators, security researchers, and computer science academics writing papers, theses, and operational documentation.

Packagednsrecord
Home pagehttps://dnsrobot.net
Bug trackerhttps://github.com/dnsrobot/latex-dnsrecord/issues
Repositoryhttps://github.com/dnsrobot/latex-dnsrecord
Version1.0.0 2026-03-09
LicensesThe Project Public License 1.3c
Copyright2026 Vahid Shaik
MaintainerVahid Shaik
TopicsEngineering
...
Guest Book Sitemap Contact Contact Author