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 }