Add v6 for reverse domains
This commit is contained in:
parent
1fbb1ec668
commit
0b65498330
4 changed files with 41 additions and 0 deletions
|
@ -79,3 +79,8 @@ resource "linode_rdns" "casey_reverse_ipv4" {
|
||||||
address = linode_instance.casey.ip_address
|
address = linode_instance.casey.ip_address
|
||||||
rdns = "casey.sys.theorangeone.net"
|
rdns = "casey.sys.theorangeone.net"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource "linode_rdns" "casey_reverse_ipv6" {
|
||||||
|
address = split("/", linode_instance.casey.ipv6)[0]
|
||||||
|
rdns = "casey.sys.theorangeone.net"
|
||||||
|
}
|
||||||
|
|
|
@ -21,3 +21,9 @@ resource "vultr_reverse_ipv4" "grimes_reverse_ipv4" {
|
||||||
ip = vultr_instance.grimes.main_ip
|
ip = vultr_instance.grimes.main_ip
|
||||||
reverse = "grimes.sys.theorangeone.net"
|
reverse = "grimes.sys.theorangeone.net"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource "vultr_reverse_ipv6" "grimes_reverse_ipv6" {
|
||||||
|
instance_id = vultr_instance.grimes.id
|
||||||
|
ip = vultr_instance.grimes.v6_main_ip
|
||||||
|
reverse = "grimes.sys.theorangeone.net"
|
||||||
|
}
|
||||||
|
|
|
@ -21,3 +21,27 @@ resource "cloudflare_record" "sys_domain_grimes" {
|
||||||
type = "A"
|
type = "A"
|
||||||
ttl = 1
|
ttl = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource "cloudflare_record" "sys_domain_casey_v6" {
|
||||||
|
zone_id = cloudflare_zone.theorangeonenet.id
|
||||||
|
name = "casey.sys"
|
||||||
|
value = split("/", linode_instance.casey.ipv6)[0]
|
||||||
|
type = "AAAA"
|
||||||
|
ttl = 1
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "cloudflare_record" "sys_domain_walker_v6" {
|
||||||
|
zone_id = cloudflare_zone.theorangeonenet.id
|
||||||
|
name = "walker.sys"
|
||||||
|
value = vultr_instance.walker.v6_main_ip
|
||||||
|
type = "AAAA"
|
||||||
|
ttl = 1
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "cloudflare_record" "sys_domain_grimes_v6" {
|
||||||
|
zone_id = cloudflare_zone.theorangeonenet.id
|
||||||
|
name = "grimes.sys"
|
||||||
|
value = vultr_instance.grimes.v6_main_ip
|
||||||
|
type = "AAAA"
|
||||||
|
ttl = 1
|
||||||
|
}
|
||||||
|
|
|
@ -20,3 +20,9 @@ resource "vultr_reverse_ipv4" "walker_reverse_ipv4" {
|
||||||
ip = vultr_instance.walker.main_ip
|
ip = vultr_instance.walker.main_ip
|
||||||
reverse = "walker.sys.theorangeone.net"
|
reverse = "walker.sys.theorangeone.net"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource "vultr_reverse_ipv6" "walker_reverse_ipv6" {
|
||||||
|
instance_id = vultr_instance.walker.id
|
||||||
|
ip = vultr_instance.walker.v6_main_ip
|
||||||
|
reverse = "walker.sys.theorangeone.net"
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue