Skip to content

dnsrobot/latex-dnsrecord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

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
  • 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 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

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

About

LaTeX package for typesetting DNS records, zone files, propagation tables, DNSSEC chains, and health check reports

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages