This repository has been archived on 2023-12-26. You can view files and clone it, but cannot push or open issues or pull requests.
hermes/terraform/dns/kun_is.tf

54 lines
1.3 KiB
HCL

resource "powerdns_zone" "kun_is" {
name = "kun.is."
kind = "Native"
nameservers = ["ns1.kun.is.", "ns2.kun.is."]
soa_edit_api = "DEFAULT"
}
resource "powerdns_record" "kun_is_txt_google_verification" {
zone = powerdns_zone.kun_is.name
name = "kun.is."
type = "TXT"
records = ["\"google-site-verification=sznWJNdSZfiAESJhnDQEJ6hf06W9vndvhMi6wP_HH04\""]
ttl = 60
}
resource "powerdns_record" "bing_kun_is_cname" {
zone = powerdns_zone.kun_is.name
name = "fcfe5d31d5b7ae1af0b352a6b4c75d3f.kun.is."
type = "CNAME"
records = ["verify.bing.com."]
ttl = 60
}
resource "powerdns_record" "ns_kun_is_a" {
zone = powerdns_zone.kun_is.name
name = "ns.kun.is."
type = "A"
records = ["84.245.14.149"]
ttl = 60
}
resource "powerdns_record" "ns1_kun_is_a" {
zone = powerdns_zone.kun_is.name
name = "ns1.kun.is."
type = "A"
records = ["84.245.14.149"]
ttl = 60
}
resource "powerdns_record" "ns2_kun_is_a" {
zone = powerdns_zone.kun_is.name
name = "ns2.kun.is."
type = "A"
records = ["84.245.14.149"]
ttl = 60
}
resource "powerdns_record" "wildcard_kun_is_a" {
zone = powerdns_zone.kun_is.name
name = "*.kun.is."
type = "A"
records = ["84.245.14.149"]
ttl = 60
}