CYBERSECURITYWITHSMITTI · DNS FIELD GUIDE
DNS, explained visually.
Understand the records. Follow the resolution path. Interpret the evidence.
Start with the everyday records, then explore service discovery, DNSSEC and the complete assigned type-code reference. All examples are synthetic; angle-bracket fields are explanatory placeholders, not deployable zone data.
Open the DNS lookup tool →Record types
A
Maps a hostname to an IPv4 address.
Example and interpretation
www.example.test. 300 IN A 192.0.2.10An address is infrastructure evidence, not proof of ownership or safety.
AAAA
Maps a hostname to an IPv6 address.
Example and interpretation
www.example.test. 300 IN AAAA 2001:db8::10Review IPv6 as well as IPv4; they can lead to different infrastructure.
CNAME
Makes one DNS name an alias of another.
Example and interpretation
portal.example.test. IN CNAME www.example.test.An ordinary CNAME cannot coexist with other data at the same name, apart from DNSSEC exceptions. Provider ALIAS/flattening is different.
MX
Routes email to a mail exchanger. Lower preference numbers are tried first.
Example and interpretation
example.test. IN MX 10 mail.example.test.The target is a hostname. Null MX “0 .” explicitly accepts no mail. Absence of MX alone is not conclusive: SMTP has address-record fallback.
TXT
Stores text used by mechanisms including SPF, DKIM and DMARC.
Example and interpretation
example.test. IN TXT "v=spf1 -all"This synthetic SPF policy authorizes no senders. SPF, DKIM and DMARC are not separate current record types. Validate each mechanism at its correct owner name.
NS
Identifies the authoritative servers for a zone or delegation.
Example and interpretation
example.test. IN NS ns1.example.test.Parent delegation and child NS data can differ. In-bailiwick servers may require glue addresses.
SOA
Includes the primary server, responsible mailbox, serial and refresh/retry/expiry timers.
Example and interpretation
example.test. IN SOA ns1.example.test. hostmaster.example.test. (2026112301 3600 600 1209600 300)Serial changes support secondary synchronization; the final field participates in negative caching, not every positive record TTL.
PTR
Maps a reverse-DNS name to a hostname.
Example and interpretation
10.2.0.192.in-addr.arpa. IN PTR host.example.test.IPv6 uses ip6.arpa. Reverse names are controlled by address-space delegation and do not establish identity.
SRV
Advertises a service using priority, weight, port and target.
Example and interpretation
_ldap._tcp.example.test. IN SRV 10 20 389 dc.example.test.Lower priority wins; weight distributes selection within equal priority. Common in Active Directory service discovery.
CAA
Expresses certificate issuance policy.
Example and interpretation
example.test. IN CAA 0 issue "letsencrypt.org"CAA influences issuance checks; it does not revoke existing certificates or prove a site is safe.
SVCB
Publishes service bindings and endpoint parameters.
Example and interpretation
_8443._foo.example.test. IN SVCB 1 svc.example.test. alpn="h2"AliasMode uses priority 0; ServiceMode uses a positive priority. Client support and service mappings matter.
HTTPS
Uses SVCB-style parameters for HTTP services.
Example and interpretation
example.test. IN HTTPS 1 . alpn="h2"Does not replace TLS certificate validation, enable HTTPS by itself or guarantee security.
DS
Links a parent zone to a child DNSSEC key.
Example and interpretation
example.test. IN DS 12345 13 2 <digest>A mismatched DS can cause validating resolvers to return SERVFAIL.
DNSKEY
Publishes DNSSEC public keys.
Example and interpretation
example.test. IN DNSKEY 257 3 13 <public-key>A key without a validated chain of trust is not sufficient.
RRSIG
Carries a DNSSEC signature over a record set.
Example and interpretation
example.test. IN RRSIG A 13 2 300 <signature-fields>Signatures expire; validity also depends on time and the chain of trust.
NSEC / NSEC3
Supports authenticated denial of existence in DNSSEC.
Example and interpretation
<owner> IN NSEC <next-name> A RRSIG NSECNSEC3 uses hashed owner names. DNSSEC authenticates data; it does not encrypt queries.
TLSA
Associates a TLS service with certificate or public-key data.
Example and interpretation
_443._tcp.example.test. IN TLSA 3 1 1 <digest>DANE trust requires validated DNSSEC and supporting clients.
SSHFP
Publishes SSH public-key fingerprints.
Example and interpretation
host.example.test. IN SSHFP 4 2 <digest>Use validated DNSSEC and a client configured to verify SSHFP; unvalidated DNS is not a safe trust anchor.
NAPTR
Provides ordered rewrite rules used in service discovery, including SIP and ENUM.
Example and interpretation
example.test. IN NAPTR 10 10 "s" "SIP+D2U" "" _sip._udp.example.test.Order, preference, flags and service fields control interpretation.
DNAME
Aliases descendants of a name into another DNS subtree.
Example and interpretation
old.example.test. IN DNAME new.example.test.Unlike CNAME, it redirects descendants, not the owner name itself.
URI
Publishes a URI with priority and weight.
Example and interpretation
_service.example.test. IN URI 10 1 "https://example.test/"Client support determines whether it is used.
LOC
Stores geographic coordinates, altitude and precision.
Example and interpretation
example.test. IN LOC 33 55 0 S 18 25 0 E 10mOperator-supplied location is not reliable geolocation evidence.
CERT
Stores certificate-related data in DNS.
Example and interpretation
example.test. IN CERT <type> <key-tag> <algorithm> <certificate>Interpret certificate type and trust separately; publication alone is not validation.
DNS concepts: beyond record types
TTL
How long may this answer be cached?A per-record value in seconds, not a record type. Reducing it now does not shorten the lifetime of answers already cached with the old TTL.
Recursive resolver
Asks on your behalfFinds answers, follows referrals and caches results. Your browser may use a different resolver from your operating system.
Root servers
Where should a resolver go next?The root refers resolvers toward top-level-domain servers. There are 13 named root-server identities backed by many physical anycast instances.
Authoritative server
Holds zone answersServes data for the zones it hosts. Authoritative answers and recursive cached answers have different roles.
DNS cache
Reuse an earlier answerPositive and negative answers can be cached. Local, browser and recursive caches can temporarily disagree.
Propagation
Caches and delegations convergeDNS is not a single global push. TTLs, negative caches, delegation updates and resolver behavior determine when users observe a change.
DNSSEC
Authenticate DNS dataSignatures and a chain of trust provide origin authentication and integrity, not encryption or a guarantee that a domain is benign.
DoH / DoT
Encrypt the resolver connectionHTTPS or TLS protects transport to the resolver. The resolver still sees the queries; encrypted transport alone does not validate DNS data.
NXDOMAIN / NODATA
Name absent or type absent?NXDOMAIN says the name does not exist. NOERROR with no requested answer may mean NODATA; inspect referrals and response context. SERVFAIL is a failure, not proof of absence.
DNS hijacking
Answers or settings redirectedUnauthorized changes to registrar, nameserver, router or resolver settings can redirect users. Verify delegation, change history and independent evidence.
Cache poisoning
False data enters a cacheA resolver may cache forged or incorrect answers. Compare authoritative evidence and validating resolvers; a mismatch alone does not prove an attack.
AXFR / IXFR / ANY / OPT
Queries and protocol metadataAXFR and IXFR request zone transfers. ANY does not reliably list every record. OPT is an EDNS pseudo-record, not an ordinary zone record.
No matching cards. Clear the search or choose all topics.
Full assigned type-code reference
IANA snapshot retrieved 23 November 2026. Includes historical, experimental and protocol/query entries; assignment does not imply current recommended use or support in this website’s lookup tool. Unassigned and reserved ranges are excluded. This bundled snapshot does not update automatically.
Browse 102 registry entries
| Mnemonic | Code |
|---|---|
| A | 1 |
| NS | 2 |
| MD | 3 |
| MF | 4 |
| CNAME | 5 |
| SOA | 6 |
| MB | 7 |
| MG | 8 |
| MR | 9 |
| NULL | 10 |
| WKS | 11 |
| PTR | 12 |
| HINFO | 13 |
| MINFO | 14 |
| MX | 15 |
| TXT | 16 |
| RP | 17 |
| AFSDB | 18 |
| X25 | 19 |
| ISDN | 20 |
| RT | 21 |
| NSAP | 22 |
| NSAP-PTR | 23 |
| SIG | 24 |
| KEY | 25 |
| PX | 26 |
| GPOS | 27 |
| AAAA | 28 |
| LOC | 29 |
| NXT | 30 |
| EID | 31 |
| NIMLOC | 32 |
| SRV | 33 |
| ATMA | 34 |
| NAPTR | 35 |
| KX | 36 |
| CERT | 37 |
| A6 | 38 |
| DNAME | 39 |
| SINK | 40 |
| OPT | 41 |
| APL | 42 |
| DS | 43 |
| SSHFP | 44 |
| IPSECKEY | 45 |
| RRSIG | 46 |
| NSEC | 47 |
| DNSKEY | 48 |
| DHCID | 49 |
| NSEC3 | 50 |
| NSEC3PARAM | 51 |
| TLSA | 52 |
| SMIMEA | 53 |
| DELEGPARAM | 54 |
| HIP | 55 |
| NINFO | 56 |
| RKEY | 57 |
| TALINK | 58 |
| CDS | 59 |
| CDNSKEY | 60 |
| OPENPGPKEY | 61 |
| CSYNC | 62 |
| ZONEMD | 63 |
| SVCB | 64 |
| HTTPS | 65 |
| DSYNC | 66 |
| HHIT | 67 |
| BRID | 68 |
| UNECE | 69 |
| ISO | 70 |
| SPF | 99 |
| UINFO | 100 |
| UID | 101 |
| GID | 102 |
| UNSPEC | 103 |
| NID | 104 |
| L32 | 105 |
| L64 | 106 |
| LP | 107 |
| EUI48 | 108 |
| EUI64 | 109 |
| NXNAME | 128 |
| TKEY | 249 |
| TSIG | 250 |
| IXFR | 251 |
| AXFR | 252 |
| MAILB | 253 |
| MAILA | 254 |
| * | 255 |
| URI | 256 |
| CAA | 257 |
| AVC | 258 |
| DOA | 259 |
| AMTRELAY | 260 |
| RESINFO | 261 |
| WALLET | 262 |
| CLA | 263 |
| IPN | 264 |
| TA | 32768 |
| DLV | 32769 |
| DELEG | 61440 |
| Private use | 65280-65534 |
Legacy examples include MD/MF and obsolete SPF type 99. Modern SPF uses TXT. ALIAS/ANAME and provider flattening are not ordinary IANA-assigned RR types.
Check your understanding
Think through each question, then reveal the explanation. This is practice, not a graded exam.
Does a domain without MX definitely reject mail?
No. SMTP may fall back to address records. Null MX explicitly declares that the domain does not accept mail.
Is TTL a DNS record type?
No. It is a cache lifetime in seconds associated with records. Previously cached answers retain their original lifetime.
Does DNSSEC encrypt DNS requests?
No. It authenticates DNS data. DoH and DoT encrypt transport to a resolver.
Does ANY return every record in a zone?
No. Servers may give minimal responses. Query the specific types you need; zone transfer is a separate operation.
Is a changed IP address proof of hijacking?
No. CDNs, failover and legitimate changes can cause differences. Corroborate with authoritative data, delegation and change history.