Arxus Bicep Module Documentation

Example Changelog

public-dns-zone

publicDNSZone

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]
caaRecords caaRecords[] CAA records of the DNS zone [Array of DNS records]
mxRecords mxRecords[] MX records of the DNS zone [Array of DNS records]
srvRecords srvRecords[] SRV records of the DNS zone [Array of DNS records, recordName in format: _service._protocol[.name]]
zoneType 'Private'
'Public'
The type of this DNS zone (default: Public)
registrationVirtualNetworks string[] A list of references to virtual networks that register hostnames in this DNS zone. This is a only when ZoneType is Private
resolutionVirtualNetworks string[] A list of references to virtual networks that resolve records in this DNS zone. This is a only when ZoneType is Private

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]

recordValues

Property Value Description
priority (required) int The priority value for this SRV record (lower is preferred).
weight (required) int The weight value for this SRV record, used between records with the same priority.
port (required) int The port value for this SRV record.
target (required) string The target domain name for this SRV record.

caaRecords

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

mxRecords

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

srvRecords

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

Example

targetScope = 'subscription'

module publicDnsZone 'ts/ArxusModules:public-dns-zone:1.5.0' = {
  params: {
    resourceObject: {
      resourceGroupName: 'rg-we-prd-dns'
      domainName: 'contoso.com'
    }
  }
}

Changelog

1.6.0 (2026-11-03)

Features

  • public DNS zone DNSSEC, alias, NS and DS records, role assignments

1.5.0 (2026-09-30)

Features

  • add support for SRV records

1.4.1 (2026-06-04)

Bug Fixes

  • Chunck long TXT records in parts

1.4.0 (2025-12-08)

Features

  • add MX and CAA record creation

1.3.1 (2025-09-24)

Bug Fixes

  • remove deployment name + cleanup

1.3.0 (2025-03-26)

Features

  • add resourceName output