---
title: "Time to Live (TTL)"
canonical: "https://docs.infoblox.com/space/DeploymentGuideTerraformNIOSProvider/807534918/Time%20to%20Live%20(TTL)"
format: markdown
---
The time to live (TTL) field is supported for all DNS record resources and data sources. TTL specifies the time that a name server is allowed to cache a record before updating the data. The TTL field takes an integer value and is expressed in seconds. A value of 0 indicates the record should not be cached. If no TTL field is specified, the record created will inherit this value from the parent zone. The following is an example of an A record resource which sets a TTL of 3600 seconds (1 hour):

```
resource "infoblox_a_record" "new_record" {
     fqdn = "newrecord.ibxdemo.com"
      ip_addr = "192.168.233.4"
       ttl = 3600 
}
```