Master File Format in DNS
Structure and Syntax
[<name>] [<TTL>] [<class>] <type> <RDATA>Common Resource Record Types
example.com. 3600 IN A 93.184.216.34example.com. 3600 IN AAAA 2606:2800:220:1:248:1893:25c8:1946www.example.com. 3600 IN CNAME example.com.example.com. 3600 IN MX 10 mail.example.com.example.com. 3600 IN NS ns1.example.com.34.216.184.93.in-addr.arpa. 3600 IN PTR example.com.example.com. 3600 IN SOA ns1.example.com. admin.example.com. ( 2021071501 ; Serial 3600 ; Refresh 1800 ; Retry 1209600 ; Expire 3600 ; Minimum TTL )example.com. 3600 IN TXT "v=spf1 include:_spf.example.com ~all"
Comments
Example of a Complete Zone File
Special Syntax
Conclusion
Last updated