1
0
mirror of https://github.com/cmur2/language-zonefile.git synced 2024-12-21 16:54:25 +01:00

docs: add example zone file for testing

This commit is contained in:
cn 2017-11-26 15:57:31 +01:00
parent 23340d3123
commit e95220d3a9
2 changed files with 40 additions and 0 deletions

View File

@ -6,6 +6,10 @@ NEW FEATURES:
- Support toggling comments
IMPROVEMENTS:
- Add example zone file using many possibilities offered by RFC 1035 syntax (even if this package does not highlight it correctly)
## 1.0.0 (November 11, 2017)
NEW FEATURES:

36
example.zone Normal file
View File

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