infoblox_zone_delegated Resource
The infoblox_zone_delegated
resource enables you to perform the create, update, and delete operations on the delegated zones in a NIOS appliance. The resource represents the ‘zone_delegated’ WAPI object in NIOS.
A delegated zone must be a subzone of an authoritative zone. For more information about delegated zones, refer to the Infoblox NIOS Documentation.
The following table describes the parameters you can define in the infoblox_zone_delegated
resource block:
Parameter | Required/Optional | Description |
---|---|---|
| Required | Specifies the name (in FQDN format) of the delegated DNS zone.
Note that once the zone is created, the zone name ( |
| Required only if | Specifies the information of the remote name server that maintains the data for the delegated zone. Define the following fields:
|
| Optional | Determines whether the zone is disabled or not. |
| Optional | Determines whether the other administrators must be restricted from making conflicting changes. Note that this flag is for administration purposes only. The zone will continue to serve DNS data even when it is locked. |
| Required only if | Specifies the delegation NS group that is bound to the delegated zone. |
| Optional | Specifies the TTL value for the delegated zone. |
| Optional | Specifies the name of the DNS view in which the delegated zone must exist. |
| Optional | Determines the format of the DNS zone. |
| Optional | Describes the delegated DNS zone. |
| Optional | Specifies the set of NIOS extensible attributes that will be attached to the DNS view. |
Example of Zone Delegated Resource
resource "infoblox_zone_delegated" "subdomain" {
fqdn = "subdomain.example.com"
delegate_to {
name = "ns-1488.awsdns-58.org"
address = "10.1.1.1"
}
delegate_to {
name = "ns-2034.awsdns-62.co.uk"
address = "10.10.1.1"
}
}
//zone delegated, with fqdn and ns_group
resource "infoblox_zone_delegated" "zone_delegated2" {
fqdn = "min_params.ex.org"
ns_group = "test"
}
//zone delegated with full set of parameters
resource "infoblox_zone_delegated" "zone_delegated3" {
fqdn = "max_params.ex.org"
view = "nondefault_view"
zone_format = "FORWARD"
comment = "test sample delegated zone"
delegate_to {
name = "te32.dz.ex.com"
address = "10.0.0.1"
}
locked = true
delegated_ttl = 60
ext_attrs = jsonencode({
"Site" = "LA"
})
disable = true
}
//delegated IPV6 reverse mapping zone
resource "infoblox_zone_delegated" "zone_delegated4" {
fqdn = "3001:db8::/64"
comment = "zone delegated IPV6"
zone_format = "IPV6"
delegate_to {
name = "test22.dz.ex.com"
address = "10.0.0.1"
}
}