Network Reference

printable cheat sheets, sized for letter paper

everydayapps.io / networkcalc

DNS Record Types

Common, DNSSEC, and modern records with purpose and example shape. Operational reference — SOA fields, TTL conventions, email auth, and PTR naming — on page 2.

Common records

TypePurposeExample
AIPv4 address for a name.www 300 IN A 192.0.2.1
AAAAIPv6 address for a name.www 300 IN AAAA 2001:db8::1
CNAMEAlias — "see this other name instead".cdn 300 IN CNAME example.com.
MXMail exchanger, with priority (lower wins).@ 300 IN MX 10 mail.example.com.
TXTArbitrary text — SPF, DKIM, domain verification.@ 300 IN TXT "v=spf1 -all"
NSAuthoritative name server for the zone.@ 300 IN NS ns1.example.com.
SOAZone administrative metadata. One per zone.@ IN SOA ns1 admin 2024... 7200 3600 1209600 300
PTRReverse mapping — address back to name.1.2.0.192.in-addr.arpa. IN PTR host.example.com.
SRVService locator — _service._proto → port + host._sip._tcp 300 IN SRV 10 60 5060 sip.example.com.
CAAWhich CA may issue certs for this name.@ 300 IN CAA 0 issue "letsencrypt.org"

DNSSEC

DNSKEYPublic key used to sign the zone. @ IN DNSKEY 257 3 13 mdsswUyr...
DSDelegation signer — trust anchor at parent. child IN DS 12345 13 2 ab12...
RRSIGCryptographic signature over an RRset. www IN RRSIG A 13 3 300 2024... example.com. sig...
NSEC / NSEC3Authenticated proof a name does NOT exist. a.example. IN NSEC b.example. A RRSIG NSEC

Modern & specialty

SVCB / HTTPSService binding — ALPN, port, IP hints for HTTPS upgrade. example.com. HTTPS 1 . alpn="h3,h2" ipv4hint=192.0.2.1
TLSADANE — binds a cert / hash to a port + protocol. _443._tcp.www IN TLSA 3 1 1 ab12...
SSHFPSSH host key fingerprint (for verifying first connect). host IN SSHFP 4 2 ab12...
NAPTRRegex-based rewrite — ENUM, SIP discovery. @ IN NAPTR 100 10 "u" "E2U+sip" "!^.*$!sip:...!"
LOCGeographic coordinates (rarely set). @ IN LOC 42 21 54 N 71 06 18 W 12m
DNAMESubtree alias — rewrites everything below a name. old.example. DNAME new.example.

SOA field breakdown

FieldPurpose
MNAMEPrimary name server for the zone.
RNAMEAdmin contact email — first "." replaces "@".
SERIALZone version. Secondaries refresh when it grows.
REFRESHSeconds secondary waits before polling primary.
RETRYSeconds secondary waits after a failed refresh.
EXPIRESeconds secondary serves zone without primary contact.
MINIMUMNegative-cache TTL (and historical default TTL).

TTL conventions

TTLLabelWhen
60Very shortActive failover / migration window.
300Short (5 min)Planned change — resolvers repoll fast.
3600Standard (1 hr)Typical production record.
86400Long (1 day)Stable long-lived records (NS, MX).
172800Very long (2 d)Infrastructure that never changes.

Email authentication TXT patterns

RecordAt nameValue
SPF@v=spf1 ip4:1.2.3.0/24 include:_spf.google.com ~all
DKIM<selector>._domainkeyv=DKIM1; k=rsa; p=<base64 public key>
DMARC_dmarcv=DMARC1; p=reject; rua=mailto:dmarc@example.com; adkim=s; aspf=s
MTA-STS_mta-stsv=STSv1; id=<policy-version>
BIMIdefault._bimiv=BIMI1; l=https://…/logo.svg; a=https://…/cert.pem

PTR (reverse) naming convention

IPv4: reverse the octets and append .in-addr.arpa.  ·  IPv6: reverse each nibble, dot-separate, append .ip6.arpa.

ForwardReverse name
192.0.2.11.2.0.192.in-addr.arpa.
10.20.30.4040.30.20.10.in-addr.arpa.
2001:db8::11.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa.
DNS Record Types everydayapps.io v1