about summary refs log tree commit diff
path: root/ops/glesys/dns-nixery-dev.tf
blob: dabd3a27b9ff7066c739d433dee5db93f8ab4d30 (plain) (blame)
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
37
38
39
40
41
42
43
44
# DNS configuration for nixery.dev
#
# TODO(tazjin): Figure out what to do with //ops/dns for this. I'd
# like to keep zonefiles in case we move providers again, but maybe
# generate something from them. Not sure yet.

resource "glesys_dnsdomain" "nixery_dev" {
  name = "nixery.dev"
}

resource "glesys_dnsdomain_record" "nixery_dev_apex_A" {
  domain = glesys_dnsdomain.nixery_dev.id
  host   = "@"
  type   = "A"
  data   = "49.12.129.211"
}

resource "glesys_dnsdomain_record" "nixery_dev_apex_AAAA" {
  domain = glesys_dnsdomain.nixery_dev.id
  host   = "@"
  type   = "AAAA"
  data   = "2a01:4f8:242:5b21:0:feed:edef:beef"
}

resource "glesys_dnsdomain_record" "nixery_dev_NS1" {
  domain = glesys_dnsdomain.nixery_dev.id
  host   = "@"
  type   = "NS"
  data   = "ns1.namesystem.se."
}

resource "glesys_dnsdomain_record" "nixery_dev_NS2" {
  domain = glesys_dnsdomain.nixery_dev.id
  host   = "@"
  type   = "NS"
  data   = "ns2.namesystem.se."
}

resource "glesys_dnsdomain_record" "nixery_dev_NS3" {
  domain = glesys_dnsdomain.nixery_dev.id
  host   = "@"
  type   = "NS"
  data   = "ns3.namesystem.se."
}