dns_prefresh
Version: v2025-02-18 | Includes use: Yes |
---|
Behavior name: DNS Prefresh
Allows edge servers to refresh your origin's DNS record independently from end-user requests. The type A DNS record refreshes before the origin's DNS record expires.
Default behavior
These samples reflect the behavior's default settings. You can use these as is in your configurations or make adjustments based on the behavior's available options.
data "akamai_property_rules_builder" "dns_prefresh" {
rules_v2025_02_18 {
name = "DNS Prefresh"
comments = "Refresh your origin's DNS record independently from end-user requests."
behavior {
dns_prefresh {
enabled = true
delay = "5m"
timeout = "2h"
}
}
}
}
"behaviors": [
{
"name": "dnsPrefresh",
"options": {
"enabled": true,
"delay": "5m",
"timeout": "2h"
}
}
]
Options
Option | Description |
---|---|
enabled |
Allows edge servers to refresh DNS records before they expire.
|
delay |
Specifies the amount of time following a DNS record's expiration to asynchronously prefresh it.
|
timeout |
Specifies the amount of time to prefresh a DNS entry if there have been no requests to the domain name.
|
Updated 9 days ago