-
Notifications
You must be signed in to change notification settings - Fork 4
/
dns-tabor-consulting-co-uk.tf
79 lines (69 loc) · 1.91 KB
/
dns-tabor-consulting-co-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
resource "digitalocean_domain" "taborconsulting" {
name = "tabor-consulting.co.uk"
}
# NS Records
resource "digitalocean_record" "taborconsulting-ns1" {
domain = digitalocean_domain.taborconsulting.id
type = "NS"
name = "@"
value = "ns1.digitalocean.com."
ttl = 1800
}
resource "digitalocean_record" "taborconsulting-ns2" {
domain = digitalocean_domain.taborconsulting.id
type = "NS"
name = "@"
value = "ns2.digitalocean.com."
ttl = 1800
}
resource "digitalocean_record" "taborconsulting-ns3" {
domain = digitalocean_domain.taborconsulting.id
type = "NS"
name = "@"
value = "ns3.digitalocean.com."
ttl = 1800
}
# A Records
resource "digitalocean_record" "taborconsulting-apex" {
domain = digitalocean_domain.taborconsulting.id
type = "A"
name = "@"
value = "66.241.125.53"
ttl = 3600
}
resource "digitalocean_record" "taborconsulting-www" {
domain = digitalocean_domain.taborconsulting.id
type = "A"
name = "www"
value = "66.241.125.53"
ttl = 3600
}
# AAAA
resource "digitalocean_record" "taborconsulting-fly-aaaa" {
domain = digitalocean_domain.taborconsulting.id
type = "AAAA"
name = "@"
value = "2a09:8280:1::4e:a275:0"
ttl = 3600
}
resource "digitalocean_record" "taborconsulting-fly-aaaa-www" {
domain = digitalocean_domain.taborconsulting.id
type = "AAAA"
name = "@"
value = "2a09:8280:1::4e:a275:0"
ttl = 3600
}
resource "digitalocean_record" "taborconsulting-fly-cert-validation-apex" {
domain = digitalocean_domain.taborconsulting.id
type = "CNAME"
name = "_acme-challenge"
value = "tabor-consulting.co.uk.wp9qy8.flydns.net."
ttl = 3600
}
resource "digitalocean_record" "taborconsulting-fly-cert-validation-www" {
domain = digitalocean_domain.taborconsulting.id
type = "CNAME"
name = "_acme-challenge.www"
value = "www.tabor-consulting.co.uk.wp9qy8.flydns.net."
ttl = 3600
}