added technitium config
This commit is contained in:
1 parent
d4780d8dc9
commit
423caa9ca4
4 files changed
+99
-12
No files matched your search
@@ -40,6 +40,34 @@ variable "dns_nameservers" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "technitium_host" {
|
||||
description = "URL of the Technitium DNS Server API (e.g. http://192.168.0.3:5380). Required once Technitium is running."
|
||||
type = string
|
||||
default = ""
|
||||
}
|
||||
|
||||
variable "dns_zones" {
|
||||
description = "Additional Technitium DNS zones to create, beyond the auto-managed search_domain zone. Keyed by zone name."
|
||||
type = map(object({
|
||||
type = optional(string, "Primary")
|
||||
forwarder = optional(string)
|
||||
}))
|
||||
default = {}
|
||||
}
|
||||
|
||||
variable "dns_records" {
|
||||
description = "Manually managed DNS records. Each targets a zone by name (the search_domain zone or one from dns_zones). A record in the search_domain zone whose name matches an auto-added host replaces that host record instead of conflicting with it."
|
||||
type = list(object({
|
||||
zone = string
|
||||
name = string # subdomain label, or "@" for the zone apex
|
||||
type = string # A, AAAA, CNAME, NS, TXT, MX
|
||||
value = string # IP / target / text / mail exchanger
|
||||
ttl = optional(number)
|
||||
priority = optional(number) # required for MX records
|
||||
}))
|
||||
default = []
|
||||
}
|
||||
|
||||
variable "ansible_inventory_path" {
|
||||
description = "Path where the generated Ansible inventory file is written. Defaults to ../ansible/inventories/generated.yml relative to this module, which points to the parent repo when used as a git submodule."
|
||||
type = string
|
||||
|
||||
Reference in new issue
Block a user