Directory macros/latex2e/contrib/dnsrecord
README.md
dnsrecord — Typeset DNS Records in LaTeX
A LaTeX 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
dnszoneenvironment for complete zone file tablesdnspropagationenvironment 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 TeX Live / MiKTeX).
License
LaTeX Project Public License v1.3c or later. See https://www.latex-project.org/lppl.txt
Author
Vahid Shaik — https://dnsrobot.net
Bug Reports
Download the contents of this package in one zip archive (397.6k).