Define grammar for duration (and other elements) in the ARM
The ARM does not define all grammar elements used through the text. I think the most complicated one which is missing is duration (TTL + ISO 8601 styles). ACL is defined in its own chapter so that one is somehow covered.
Terms missing in the ARM at the moment (commit 788aa4b1):
$ diff -U0 <(grep --no-filename --only '<[^>]*>' doc/misc/options doc/misc/*.zoneopt | sort -u | tr -d '<>') <(grep '^ ``[^`]*``$' doc/arm/reference.rst | tr -d ' `' | sort -u) | grep '^-'
-address_match_element
-class
-duration
-duration_or_unlimited
-log_severity
-quoted_string
-rrtypelist
-string
-syslog_facility
-unspecified-text
Elements used by grammar:
$ grep --no-filename --only '<[^>]*>' doc/misc/options doc/misc/*.zoneopt | sort -u | tr -d '<>'
address_match_element
boolean
class
duration
duration_or_unlimited
fixedpoint
integer
ipv4_address
ipv6_address
log_severity
netprefix
percentage
portrange
quoted_string
remote-servers
rrtypelist
server_key
size
sizeval
string
syslog_facility
unspecified-text
Terms defined in the ARM (roughly!):
$ grep '^ ``[^`]*``$' doc/arm/reference.rst | tr -d ' `' | sort -u
acl_name
address_match_list
any
boolean
domain_name
dscp
fixedpoint
integer
ip_address
ipv4_address
ipv6_address
localhost
localnets
masters
netprefix
none
percentage
port
portrange
remote-servers
server_key
size
sizeval
tls_id