Bicep Module Documentation

← Back to Overview

Module private-dns-zone

privateDNSZone

Property Value Description
resourceGroupName (required) string Resource group of the DNS zone
tags object Tags of the DNS zone [hashtable]
domainName (required) string Name of the DNS zone [domain name]
aRecords aRecords[] A records of the DNS zone [Array of DNS records in format: x.x.x.x]
aaaaRecords aaaaRecords[] AAAA records of the DNS zone [Array of DNS records in format: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx]
cnameRecords cnameRecords[] CNAME records of the DNS zone [Array of DNS records in format: xxxxxx.com]
txtRecords txtRecords[] TXT records of the DNS zone [Array of DNS records]
registrationEnabled bool Enable auto-registration of virtual machines in this private DNS zone (default: false)
virtualNetworkResourceIds string[] Associate the private DNS zones to virtual networks

aRecords

Property Value Description
recordName (required) string
recordValues (required) string[]
recordTTL int Time-to-live of the records in the set (default: 3600) [int]

aaaaRecords

Property Value Description
recordName (required) string
recordValues (required) string[]
recordTTL int Time-to-live of the records in the set (default: 3600) [int]

cnameRecords

Property Value Description
recordName (required) string
recordValue (required) string
recordTTL int Time-to-live of the records in the set (default: 3600) [int]

txtRecords

Property Value Description
recordName (required) string
recordValues (required) string[]
recordTTL int Time-to-live of the records in the set (default: 3600) [int]

Changelog

1.4.0 (2025-10-06)

Features

  • update resource api versions

1.3.1 (2025-09-24)

Bug Fixes

  • remove deployment name + cleanup

1.3.0 (2025-03-26)

Features

  • add resourceName output

1.2.3 (2024-12-10)

Bug Fixes

  • make deployment name unique per zone

1.2.2 (2024-12-10)

Bug Fixes

  • Use new function for unique deployment name