Atom - Bind Zone File syntax highlighting
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.2 KiB

  1. $TTL 86400 ; 24 hours, could have been written as 24h or 1d
  2. $ORIGIN example.com.
  3. @ 7d IN SOA ns1.example.com. hostmaster.example.com. (
  4. 2017010101 ; serial
  5. 3H ; refresh
  6. 15 ; retry
  7. 1W ; expire
  8. 5m ; minimum
  9. )
  10. ; name servers
  11. 7D IN NS ns1.example.com. ; in the domain
  12. 7D IN NS ns2.example.org. ; external to domain
  13. ; services and hosts
  14. ns1 IN A 192.168.0.1 ; name server IPv4 address
  15. ns1 IN AAAA 2001:0db8::1 ; name server IPv6 address
  16. www IN A 192.168.0.2 ; web server
  17. ftp IN CNAME www.example.com. ; ftp alias (absolute)
  18. xmpp IN CNAME www ; xmpp alias (relative)
  19. dyn 60 IN CNAME www ; dynamic alias (TTL in seconds)
  20. ; mail
  21. IN MX 10 mail.example.org. ; external mail provider
  22. mail._domainkey IN TXT "v=DKIM1\; h=sha256\; k=rsa\; s=email\; p=loooooooooog"
  23. ; CAA records for Let's Encrypt, one in RFC 3597 syntax
  24. IN CAA 0 issue "letsencrypt.org"
  25. ; IN CAA 0 iodef "mailto:abuse@example.com"
  26. IN TYPE257 \# 31 0005696F6465666D61696C746F3A6162757365406578616D706C652E636F6D
  27. ; xmpp
  28. _jabber._tcp IN SRV 5 0 5269 xmpp
  29. ; special
  30. xx.lcs.mit.edu. CH A mit.edu. 2420