...
Aspect | RFC | Description |
---|---|---|
A record | RFC 1035 | |
AAAA record | RFC 3596 | |
CNAME record | RFC 1035 | |
MX record | RFC 1035 | |
NAPTR record | ||
CAA record | RFC 6844 | |
NS record | RFC 1035 | |
PTR record | RFC 1035 | |
SRV record | RFC 2782 | |
TXT record | RFC 1035 | |
TXT record stuctured | RFC 1464 | Structured format in TXT data fields. |
SOA record | RFC 1912 | For default values for SOA records. |
SERIAL | RFC 1912 | Supports both RFC 1912 and timestamp SOA Serial number formats. |
Classless delegation | RFC 2317 | Classless routing allows allocation of subnets on non-octet boundaries that is less than 256 addresses from a Class C address. |
E.164 | RFC 3761 | DNS zones for storage of E.164 numbers. |
IPv6 zones | RFC 4291 | Reverse DNS lookups for IPv6 addresses. |
Mask delimiters | RFC 4183 | Both / and - are supported as mask delimiters. |
SRV services and protocols | RFC 3958 | The list of services and protocols accepted by SRV records. |
IPv6 format | RFC 5952 | Recommendation for IPv6 address text representation. |
Dynamic Delegation Discovery System (DDDS) | ||
Straightforward-NAPTR (S-NAPTR) Specification | RFC 3958 | |
DomainKeys Identified Mail (DKIM) | RFC 4871 | |
List of accepted services for SRV and NAPTR records | https://www.iana.org/assignments/enum-services/enum-services.xhtml | |
Wildcard usage in IPv6 reverse DNS | ||
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 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 | ||||
---|---|---|---|---|
|
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 | ||||
---|---|---|---|---|
|
...
Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.