zone file syntax
Zone File Syntax Components
$TTL 86400@ IN SOA ns1.example.com. admin.example.com. ( 2023010101 ; Serial 3600 ; Refresh (1 hour) 1800 ; Retry (30 minutes) 1209600 ; Expire (2 weeks) 86400 ) ; Minimum TTL (1 day)@ IN NS ns1.example.com. @ IN NS ns2.example.com.ns1 IN A 192.0.2.1 ns2 IN A 192.0.2.2www IN AAAA 2001:0db8:85a3:0000:0000:8a2e:0370:7334www IN CNAME example.com.@ IN MX 10 mail.example.com.1.2.3.4 IN PTR example.com.@ IN TXT "v=spf1 include:example.com ~all"_service._proto IN SRV 10 5 5060 sipserver.example.com.
Additional Syntax Rules
Example Zone File
Conclusion
Last updated