Skip to main content


max_dns_ttl — set the maximum DNS TTL


max_dns_ttl = 4294967295


Max_Dns_Ttl and Min_Dns_Ttl are optional overrides to the TTL values returned from DNS (only as far as resolving SMTP destinations is concerned; the DNS cache used by other parts of the system such as Sieve and DKIM is not affected by these parameters). Setting a Min_Dns_Ttl can be used to prevent excessive DNS lookups in the event that an SMTP destination you are delivering mail to has unreasonably short TTL values for its DNS records. Conversely, Max_Dns_Ttl can be used to force lookups to happen more often if a destination domain has excessively long TTL values in its DNS records. Setting this option should only be necessary in exceptional circumstances.

The default value for this option is 4294967295.


max_dns_ttl is valid in the global scope.

See Also

Was this page helpful?