-
Notifications
You must be signed in to change notification settings - Fork 4
/
dns-jnsgr-uk.tf
114 lines (99 loc) · 2.46 KB
/
dns-jnsgr-uk.tf
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
resource "digitalocean_domain" "jnsgruk" {
name = "jnsgr.uk"
}
# NS Records
resource "digitalocean_record" "jnsgruk-ns1" {
domain = digitalocean_domain.jnsgruk.id
type = "NS"
name = "@"
value = "ns1.digitalocean.com."
ttl = 1800
}
resource "digitalocean_record" "jnsgruk-ns2" {
domain = digitalocean_domain.jnsgruk.id
type = "NS"
name = "@"
value = "ns2.digitalocean.com."
ttl = 1800
}
resource "digitalocean_record" "jnsgruk-ns3" {
domain = digitalocean_domain.jnsgruk.id
type = "NS"
name = "@"
value = "ns3.digitalocean.com."
ttl = 1800
}
# A Records
resource "digitalocean_record" "jnsgruk-files" {
domain = digitalocean_domain.jnsgruk.id
type = "A"
name = "files"
value = "100.67.109.40"
ttl = 3600
}
resource "digitalocean_record" "jnsgruk-ha" {
domain = digitalocean_domain.jnsgruk.id
type = "A"
name = "ha"
value = "100.67.109.40"
ttl = 3600
}
resource "digitalocean_record" "jnsgruk-photos" {
domain = digitalocean_domain.jnsgruk.id
type = "A"
name = "photos"
value = "100.67.109.40"
ttl = 3600
}
resource "digitalocean_record" "jnsgruk-sync" {
domain = digitalocean_domain.jnsgruk.id
type = "A"
name = "*.sync"
value = "100.67.109.40"
ttl = 3600
}
resource "digitalocean_record" "jnsgruk-apex" {
domain = digitalocean_domain.jnsgruk.id
type = "A"
name = "@"
value = "137.66.21.13"
ttl = 3600
}
resource "digitalocean_record" "jnsgruk-www" {
domain = digitalocean_domain.jnsgruk.id
type = "A"
name = "www"
value = "137.66.21.13"
ttl = 3600
}
# AAAA
resource "digitalocean_record" "jnsgruk-fly-cert-validation" {
domain = digitalocean_domain.jnsgruk.id
type = "AAAA"
name = "@"
value = "2a09:8280:1::6bb6"
ttl = 3600
}
# CNAME Records
resource "digitalocean_record" "jnsgruk-fly-wildcard-cert-validation" {
domain = digitalocean_domain.jnsgruk.id
type = "CNAME"
name = "_acme-challenge"
value = "jnsgr.uk.9w6nj.flydns.net."
ttl = 3600
}
# TXT Records
resource "digitalocean_record" "jnsgruk-keybase-proof" {
domain = digitalocean_domain.jnsgruk.id
type = "TXT"
name = "@"
value = "keybase-site-verification=kim2lHkuXnd-QgMAhiQHJYJNNS2TDXkZe-as4L6drpA"
ttl = 3600
}
resource "digitalocean_record" "jnsgruk-keyoxide" {
domain = digitalocean_domain.jnsgruk.id
type = "TXT"
name = "@"
value = "openpgp4fpr:83b266dcf3e3f2b41264a9f5f4a9184451bd9a74"
ttl = 3600
}