Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Aspect

RFC

Description

A recordRFC 1035
AAAA recordRFC 3596
CNAME recordRFC 1035
MX recordRFC 1035
NAPTR record

RFC 3403

RFC 2915


CAA recordRFC 6844
NS recordRFC 1035
PTR recordRFC 1035
SRV recordRFC 2782
TXT recordRFC 1035
TXT record stucturedRFC 1464Structured format in TXT data fields.
SOA recordRFC 1912For default values for SOA records.
SERIALRFC 1912Supports both RFC 1912 and timestamp SOA Serial number formats.
Classless delegationRFC 2317Classless routing allows allocation of subnets on non-octet boundaries that is less than 256 addresses from a Class C address.
E.164RFC 3761DNS zones for storage of E.164 numbers.
IPv6 zonesRFC 4291Reverse DNS lookups for IPv6 addresses.
Mask delimitersRFC 4183Both / and - are supported as mask delimiters.
SRV services and protocolsRFC 3958The list of services and protocols accepted by SRV records.
IPv6 formatRFC 5952

Recommendation for IPv6 address text representation.

Dynamic Delegation Discovery System (DDDS) 

RFC 3401

RFC 3402

RFC 3403

RFC 3404 


Straightforward-NAPTR (S-NAPTR) Specification

RFC 3958

DomainKeys Identified Mail (DKIM)

RFC 4871


List of accepted services for SRV and NAPTR recordshttps://www.iana.org/assignments/enum-services/enum-services.xhtml

Wildcard usage in IPv6 reverse DNS

RFC 4472


Split value of long TXT record in 255 characters strings

RFC 4408

...


Code Block
domain.ltd.|master {
    |SERIAL| |2011110802| || ||
    |DEFAULT_TTL| |86400| || ||
    |REFRESH| |10800| || ||
    |RETRY| |3600| || ||
    |EXPIRE| |604800| || ||
    |MIN_TTL| |86400| || ||
    |ALLOW_TRANSFER| |4.3.2.1| || ||
    |NS| |domain.ltd.| |ns1.domain.ltd.| ||
    |NS| |aa.domain.ltd.| |ns.domain.ltd.| ||
    |CNAME| |cname.domain.ltd.| |canonical.name.| ||
    |CNAME| |somedir.domain.ltd.| |domain.ltd.| ||
    |CNAME| |ftp| |domain.ltd.| ||
    |A| |mail.domain.ltd.| |192.168.10.32| ||
    |AAAA| |sub.domain.ltd.| |2001:db8:85a3:88:8a2e:370:7334:89| ||
    |MX| |zone.domain.ltd.| |email.exchanger| |10|
    |TXT| |txt.domain.ltd.| |v=spf1 exists:%{ir}.%{v}.arpa -all | ||
    |TXT| |some-text.domain.ltd.| |any text| ||
    |TXT| |domain.ltd.| |sometext| ||
    |TXT| |private._domainkey.domain.ltd.| |k=rsa; p=MEwwDQYerwqEWwE| ||
	|NAPTR| |mail.domain.ltd.| |!^.*$!mailto:info@domain.ltd!i| |6| |5| || || |SMTP| |A| ||
    |SRV| |_sip._tcp.domain.ltd.| |.| |5| |25| |12345| ||
    |SRV| |_sip._tcp.domain.ltd.| |anotherdomain.com.| |10| |20| |5560| ||
    |SRV| |_h323._udp.domain.ltd.| |sub.domain.ltd.| |15| |25| |8550| || 
}
testdomain.com.|master {
 	|$ORIGIN| |com.| || ||
	|TXT| |testdomain| |v=spf1 a mx ptr mx:mail.testdomain.com ~all| ||
	|NS| || |ns1.test-web| ||
	|NS| || |ns2.test-web| ||
	|A| || |64.85.2.56| ||
    |CAA| |test.testdomain.com.| |test.com| |issue| |2|
}

Anchor
default master
default master

Default zone type is master

If the zone type is missing, it is assumed to be a master zone definition.

Code Block
domain.ltd.{
 	|REFRESH| |108002| || ||
	|RETRY| |36002| || ||
	|EXPIRE| |604802| || ||
	|MIN_TTL| |86402| || ||
	|DEFAULT_TTL| |86402| || ||
	|SERIAL| |1271668821| || ||
	|ALLOW_TRANSFER| |4.3.2.1| || ||
	|NS| |domain.ltd.| |ns1.domain.ltd.| ||
	|NS| |aa.domain.ltd.| |ns.domain.ltd.| ||
	|CNAME| |cname.domain.ltd.| |canonical.name.| ||
	|CNAME| |somedir.domain.ltd.| |domain.ltd.| ||
	|CNAME| |ftp| |domain.ltd.| ||
	|A| |mail.domain.ltd.| |192.168.10.32| ||
	|AAAA| |sub.domain.ltd.| |2001:db8:85a3:88:8a2e:370:7334:89| ||
	|MX| |zone.domain.ltd.| |email.exchanger| |10|
	|TXT| |txt.domain.ltd.| |v=spf1 exists:%{ir}.%{v}.arpa -all | ||
	|TXT| |some-text.domain.ltd.| |any text| ||
	|TXT| |domain.ltd.| |sometext| ||
	|TXT| |private._domainkey.domain.ltd.| |k=rsa; p=MEwwDQYerwqEWwE| ||
}

Anchor
master
master

Slave zones example

Slave zones may included in dump as follows:
Code Block
3.2.1.in-addr.arpa.|slave {
 	|MASTER| |6.7.8.9| || ||
	|MASTER| |1999:db8:a0b:12f0:a1b2:c3d4:f5e6:1234| || ||
	|ALLOW_TRANSFER| |2002:a96:b95::a96f:b95| || ||
	|ALLOW_TRANSFER| |69.41.170.223| || ||
}
foo.com.|slave {
 	|MASTER| |1999:db8:a0b:12f0:a1b2:c3d4:f5e6:1234| || ||
 	|ALLOW_TRANSFER| |69.41.170.223| || ||
}

Anchor
Classless
Classless

...

Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.