dns
Description
Defines a Domain Name Service (DNS) zone.
Features
Discovery
Feature
AWS
Azure
Import
Private Zones
Feature
AWS
Azure
Create, Update, Delete
✔️
✔️
Public Zones
Feature
AWS
Azure
Create, Update, Delete
✔️
✔️
Required Properties
fqdn (string)
Fully Qualified Domain Name of the zone.
Optional Properties
ttl (integer)
Amount of time (in seconds) that a resolved DNS entry can be cached.
The default value if not specified is 3600
.
type (string)
Type of the DNS zone.
Allowed Values:
private
public
The default value if not specified is private
.
Common Properties
count (integer)
Indicates how many of this dns should exist. When count is specified the name of the given resource will have a hyphen and numeric suffix added automatically, unless the count variable is referenced in the blueprint object name.
depends_on (⏩ any)
This property can be used to declare a dependency from this dns to any other object in the blueprint. This is not necessary for dependencies generated normally by the schema.
folder (▶ location.folder)
The folder containing this dns. If this is not specified and there is only one folder defined, that folder is used automatically.
name (string)
The name of this dns. The name can be different than the blueprint object name. When the name property is not present we apply automatic naming strategies to make resources easier to identify in each venue's management console. When the name property is specified we will use it exactly as specified.
readonly (boolean)
Indicates whether or not this dns is read-only. If so, we verify only the existence and correctness of this dns to its specification rather than creating or modifying it.
The default value if not specified is false
.
tags (dict)
The tags to place on this dns. Tags are metadata stored in (key = value, ...) form. Consumers are not allowed to use tags that begin with _tuono
as those are reserved.
Discovered Properties
These properties are populated and available in the inventory following a successful apply.
id (string)
The venue-specific identifier of this dns.
Examples
Define a DNS zone for dev.example.local:
location:
folder:
example-folder:
region: example-region
region:
example-region:
area: west
country: USA
networking:
dns:
example-private-dns:
fqdn: dev.example.local
Define a DNS zone for hr.example.local:
location:
folder:
example-folder:
region: example-region
region:
example-region:
area: west
country: USA
networking:
dns:
example-public-dns:
fqdn: hr.example.local
ttl: 3600
type: public
Last updated
Was this helpful?