fix
This commit is contained in:
@@ -23,13 +23,13 @@ locals {
|
||||
}
|
||||
EOF
|
||||
soa-ns = <<-EOF
|
||||
@ IN SOA ${var.sub-domain}.${var.domain-name}. ${var.domain-name}. (
|
||||
@ IN SOA ${var.sub_domain}.${var.domain_name}. ${var.domain_name}. (
|
||||
${formatdate("YYYYMMDDhh",timestamp())} ; Serial
|
||||
4H ; Refresh
|
||||
1H ; Retry
|
||||
7D ; Expire
|
||||
4H ) ; Negative Cache TTL
|
||||
@ IN NS ${var.sub-domain}.${var.domain-name}.
|
||||
@ IN NS ${var.sub_domain}.${var.domain_name}.
|
||||
EOF
|
||||
files = merge({
|
||||
"Corefile" = join("\n", concat([local.begin-core],[for z in var.zones: format("file /etc/coredns/%s.db %s", z.name,z.name)],[local.end-core]))
|
||||
|
||||
Reference in New Issue
Block a user