ttl



Description

Overrides the default time-to-live value. If this command is used for a CNAME, the value overrides the default of 0. If this command is used for a pool, the value overrides the time-to-live value for that pool.

Syntax

ttl <seconds>

ttl <seconds>

  • Overrides the default time-to-live value with the specified value in seconds.

Examples

when DNS_REQUEST {
  if { [wideip name] ends_with ".com" } {
     ttl 300
     cname "my.host.org"
 }
}