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

39 lines
855 B
Terraform
Raw Normal View History

2023-06-17 20:34:46 +00:00
resource "powerdns_zone" "kun_is" {
name = "kun.is."
kind = "Native"
nameservers = ["ns1.kun.is.", "ns2.kun.is."]
soa_edit_api = "DEFAULT"
}
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
}