all repos — dns @ d0d242d6a629b5d984735a2d84b7781c38a76564

DNS records for my domains, managed via dnscontrol

justfile (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
preview: test
    dnscontrol preview --cmode all

build: preview

push:
    dnscontrol push --cmode all

notify:
    #!/usr/bin/env fish
    set servers 2607:7c80:54:6::53 2602:fe55:5::5
    set domains alanpearce.eu alin.ovh searchix.ovh
    for domain in $domains
      for ns in $servers
          pdns_notify $ns $domain
      end
    end

run: push

test:
    dnscontrol check

ci: test

cd: push notify

update:
    lon update

update-types:
    update-types

@get-ssh-host-key hostname:
    ssh-keyscan -q -D "{{ hostname }}" | \
        awk '{ printf "{ algo: %d, type: %d, fingerprint: \"%s\" },\n", $4, $5, $6 }'