mirror of
https://github.com/cmur2/language-zonefile.git
synced 2024-12-26 16:54:24 +01:00
grammar: support numeric-only TTL values
This commit is contained in:
parent
17de36de6a
commit
4dcaaa2215
@ -1,5 +1,11 @@
|
||||
# Changelog
|
||||
|
||||
## 1.1.3 (March 16, 2018)
|
||||
|
||||
IMPROVEMENTS:
|
||||
|
||||
- Support numeric-only TTL values
|
||||
|
||||
## 1.1.2 (February 21, 2018)
|
||||
|
||||
IMPROVEMENTS:
|
||||
|
@ -19,6 +19,7 @@ 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)
|
||||
dyn 60 IN CNAME www ; dynamic alias (TTL in seconds)
|
||||
|
||||
; mail
|
||||
IN MX 10 mail.example.org. ; external mail provider
|
||||
|
@ -29,7 +29,7 @@ repository:
|
||||
name: 'variable.other.entry.control.zonefile'
|
||||
}
|
||||
{
|
||||
begin: '((@)|([A-Za-z0-9_.-]+))?(\\s+\\d+[A-Za-z])?(\\s+IN|in|CH|ch)?\\s+(\\w+)\\s+'
|
||||
begin: '((@)|([A-Za-z0-9_.-]+))?(\\s+\\d+[A-Za-z]*)?(\\s+IN|in|CH|ch)?\\s+(\\w+)\\s+'
|
||||
beginCaptures:
|
||||
'2':
|
||||
name: 'keyword.entry.resource.record.zonefile'
|
||||
|
Loading…
Reference in New Issue
Block a user