summaryrefslogtreecommitdiff
path: root/types/ttl.pp
blob: 267417210538bb163a2812d118c2610bacc26da6 (plain)
1
2
3
4
5
6
# https://www.zytrax.com/books/dns/apa/time.html
# NOTE Ttl fields might be limited to 32 bits. Possibly ensure that
# this number is lower than that.
type Dns::Ttl = Pattern[
  /(?i:([0-9]+[smhdw]?)+)/,
]