2019-06-05 04:21:42 +03:00
|
|
|
|%
|
|
|
|
:: +provider: DNS service provider (gcloud only for now)
|
|
|
|
::
|
|
|
|
+$ provider
|
|
|
|
$% [%fcloud zone=@ta auth=[email=@t key=@t]]
|
2019-06-27 21:42:04 +03:00
|
|
|
$: %gcloud
|
|
|
|
project=@ta
|
|
|
|
zone=@ta
|
|
|
|
:: XX passed as params since we can't scry in +mule
|
|
|
|
::
|
|
|
|
scry=[code=@t =hart:eyre secrets=@t]
|
|
|
|
auth=(unit [access=@t refresh=@t])
|
|
|
|
==
|
2019-06-05 04:21:42 +03:00
|
|
|
==
|
|
|
|
:: +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
|
|
|
|
:: id: binding UUID (unused by gcloud)
|
|
|
|
::
|
|
|
|
id=@ta
|
|
|
|
:: 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
|
|
|
|
bon=(map ship bound)
|
2019-06-26 04:41:08 +03:00
|
|
|
dep=(jug ship (pair ship target))
|
2019-06-05 04:21:42 +03:00
|
|
|
==
|
|
|
|
--
|