2026.8.25.4

Overview

Name zone
Tag 2026.8.25.4
FullName br:bicepacrdevwcom.azurecr.io/bicep/modules/dns/zone:2026.8.25.4
Last updated 2026-08-25 10:38:28:+00:00
Created 2026-08-25 10:38:28:+00:00
Digest sha256:0cba7dc8643a3346bdeff511e91291a8eee786aec8494b1671a64a3efc3ef49e

Parameters

Name Type Required Description
zoneName string Yes The name of the DNS zone to create or manage (e.g., "example.com"). This name should match the domain name you intend to use for DNS resolution.
zoneType string
'Private',
'Public'
No
'Public'
The type of DNS zone to create. Must be either "Private" (for internal networks) or "Public" (accessible on the internet). Defaults to "Public".
location string No
'Global'
The Azure region where the DNS zone is hosted. Defaults to "Global", which is used for all DNS zones.
tags object Yes A key-value map of resource tags to assign to the DNS zone for organization, management, and cost tracking.

Outputs

Name Type Description
nameServers array An array of name servers assigned to this DNS zone. Use these name servers to delegate the zone in your registrar or parent zone.
zoneName string The symbolic name of the DNS zone, corresponding to the resource name in Azure.

Example

@description('The target environment.')
param env string

@description('The deployment version.')
param version string = '1.0.0.0'

@description('The name of the DNS zone to create or manage (e.g., "example.com"). This name should match the domain name you intend to use for DNS resolution.')
param zoneName string

@description('A key-value map of resource tags to assign to the DNS zone for organization, management, and cost tracking.')
param tags object


module zone 'br:bicepacrdevwcom.azurecr.io/bicep/modules/dns/zone:2026.8.25.4' = {
    name: 'zone${env}${version}'
    params: {
      zoneName: zoneName
      tags: tags
    }
}