mirror of
https://github.com/urbit/shrub.git
synced 2024-12-03 05:43:18 +03:00
60 lines
1.1 KiB
Plaintext
60 lines
1.1 KiB
Plaintext
|%
|
|
:: +turf: a domain, TLD first
|
|
::
|
|
+= turf (list @t)
|
|
:: +provider: DNS service provider (gcloud only for now)
|
|
::
|
|
+= provider
|
|
$% [%gcloud project=@ta zone=@ta]
|
|
==
|
|
:: +authority: responsibility for a DNS zone
|
|
::
|
|
+= authority
|
|
$: :: dom: authority over a fully-qualified domain
|
|
::
|
|
dom=turf
|
|
:: pro: DNS service provider
|
|
::
|
|
pro=provider
|
|
==
|
|
:: +target: a ship is bound to a ...
|
|
::
|
|
+= target
|
|
$% :: %direct: an A record
|
|
::
|
|
[%direct %if p=@if]
|
|
:: %indirect: a CNAME record
|
|
::
|
|
[%indirect p=ship]
|
|
==
|
|
:: +bound: an established binding, plus history
|
|
::
|
|
+= bound
|
|
$: :: wen: established
|
|
::
|
|
wen=@da
|
|
:: cur: current target
|
|
::
|
|
cur=target
|
|
:: hit: historical targets
|
|
::
|
|
hit=(list (pair @da target))
|
|
==
|
|
:: +nameserver: a b s o l u t e p o w e r
|
|
::
|
|
+= nameserver
|
|
$: aut=authority
|
|
pen=(map ship target)
|
|
bon=(map ship bound)
|
|
==
|
|
:: +relay: a good parent keeps track
|
|
::
|
|
+= relay
|
|
$: wen=@da
|
|
wer=(unit @if)
|
|
bon=?
|
|
try=@ud
|
|
tar=target
|
|
==
|
|
--
|