Skip to main content

DnsRecord

Resource DnsRecord in pulumi-bunnynet.
4 min read

Resource DnsRecord in pulumi-bunnynet.

Pulumi type: bunnynet:index/dnsRecord:DnsRecord.

name is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

Arguments#

PropertyTypeRequiredDescription
acceleratedbooleannoIndicates whether the DNS record should utilize bunny.net’s acceleration services.
commentstringnoThis property allows users to add descriptive notes for documentation and management purposes.
enabledbooleannoIndicates whether the DNS record is enabled.
flagsnumbernoFlags for advanced DNS settings.
geolocationLatnumbernoThe latitude for geolocation-based routing.
geolocationLongnumbernoThe longitude for geolocation-based routing.
latencyZonestringnoThe latency zone for latency-based routing.
monitorTypestringnoOptions: Http, Monitor, None, Ping
namestringnoThe name of the DNS record. Use <code>name = ""</code> for apex domain records.
portnumbernoThe port number for services that require a specific port.
prioritynumbernoThe priority of the DNS record.
pullzoneIdnumbernoThe ID of the linked pullzone.
smartRoutingTypestringnoOptions: Geolocation, Latency, None
tagstringnoA tag for the DNS record.
ttlnumbernoThe time-to-live value for the DNS record.
typestringyesOptions: A, AAAA, CAA, CNAME, Flatten, HTTPS, MX, NS, PTR, PullZone, Redirect, SRV, SVCB, Script, TLSA, TXT
valuestringyesThe value of the DNS record.
weightnumbernoThe weight of the DNS record. It is used in load balancing scenarios to distribute traffic based on the specified weight.
zonenumberyesID of the related DNS zone.

Outputs#

Computed outputs are produced by the provider. They are not constructor arguments.

PropertyTypeComputedDescription
acceleratedbooleannoIndicates whether the DNS record should utilize bunny.net’s acceleration services.
acceleratedPullzonenumberyesThe ID of the accelerated pull zone.
commentstringnoThis property allows users to add descriptive notes for documentation and management purposes.
dnsRecordIdnumberyesThe unique identifier for the DNS record.
enabledbooleannoIndicates whether the DNS record is enabled.
flagsnumbernoFlags for advanced DNS settings.
geolocationLatnumbernoThe latitude for geolocation-based routing.
geolocationLongnumbernoThe longitude for geolocation-based routing.
latencyZonestringnoThe latency zone for latency-based routing.
linkNamestringyesThe name of the linked resource.
monitorTypestringnoOptions: Http, Monitor, None, Ping
namestringnoThe name of the DNS record. Use <code>name = ""</code> for apex domain records.
portnumbernoThe port number for services that require a specific port.
prioritynumbernoThe priority of the DNS record.
pullzoneIdnumbernoThe ID of the linked pullzone.
smartRoutingTypestringnoOptions: Geolocation, Latency, None
tagstringnoA tag for the DNS record.
ttlnumbernoThe time-to-live value for the DNS record.
typestringnoOptions: A, AAAA, CAA, CNAME, Flatten, HTTPS, MX, NS, PTR, PullZone, Redirect, SRV, SVCB, Script, TLSA, TXT
valuestringnoThe value of the DNS record.
weightnumbernoThe weight of the DNS record. It is used in load balancing scenarios to distribute traffic based on the specified weight.
zonenumbernoID of the related DNS zone.