Move 0rng.one DNS to Gandi
This commit is contained in:
parent
f14b16ec26
commit
b68cb9cd96
1 changed files with 34 additions and 26 deletions
|
@ -1,35 +1,43 @@
|
||||||
resource "cloudflare_zone" "orngone" {
|
resource "gandi_livedns_domain" "orngone" {
|
||||||
zone = "0rng.one"
|
name = "0rng.one"
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "cloudflare_record" "orngone_git" {
|
resource "gandi_livedns_record" "orngone_git" {
|
||||||
zone_id = cloudflare_zone.orngone.id
|
zone = gandi_livedns_domain.orngone.id
|
||||||
name = "git"
|
name = "git"
|
||||||
value = cloudflare_record.theorangeonenet_git.hostname
|
|
||||||
type = "CNAME"
|
type = "CNAME"
|
||||||
ttl = 1
|
ttl = 3600
|
||||||
|
values = [
|
||||||
|
cloudflare_record.theorangeonenet_git.hostname
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "cloudflare_record" "orngone_who" {
|
resource "gandi_livedns_record" "orngone_who" {
|
||||||
zone_id = cloudflare_zone.orngone.id
|
zone = gandi_livedns_domain.orngone.id
|
||||||
name = "who"
|
name = "who"
|
||||||
value = cloudflare_record.theorangeonenet_whoami.hostname
|
|
||||||
type = "CNAME"
|
type = "CNAME"
|
||||||
ttl = 1
|
ttl = 3600
|
||||||
|
values = [
|
||||||
|
cloudflare_record.theorangeonenet_whoami.hostname
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "cloudflare_record" "orngone_img" {
|
resource "gandi_livedns_record" "orngone_img" {
|
||||||
zone_id = cloudflare_zone.orngone.id
|
zone = gandi_livedns_domain.orngone.id
|
||||||
name = "img"
|
name = "img"
|
||||||
value = cloudflare_record.theorangeonenet_img.hostname
|
|
||||||
type = "CNAME"
|
type = "CNAME"
|
||||||
ttl = 1
|
ttl = 3600
|
||||||
|
values = [
|
||||||
|
cloudflare_record.theorangeonenet_img.hostname
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "cloudflare_record" "orngone_yourls" {
|
resource "gandi_livedns_record" "orngone_apex" {
|
||||||
zone_id = cloudflare_zone.orngone.id
|
zone = gandi_livedns_domain.orngone.id
|
||||||
name = "@"
|
name = "@"
|
||||||
value = linode_instance.casey.ip_address
|
|
||||||
type = "A"
|
type = "A"
|
||||||
ttl = 1
|
ttl = 3600
|
||||||
|
values = [
|
||||||
|
linode_instance.casey.ip_address
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue