[Pdns-users] How to define minimum TTL for any domain?

Kenneth Marshall ktm at rice.edu
Wed Mar 16 17:59:26 UTC 2011

On Wed, Mar 16, 2011 at 10:11:04AM -0700, Alfred B. M. Cordero wrote:
> There is a domain that has a 60 second TTL. This is too low for us. 
> The minimum needs to be made higher. Can we do with powerdns? If 
> this allowed by the RFC to have it 60 seconds but it doesn't seem 
> well. The settings in the conf file for minimum settings seem to 
> all say "Don't change".
> Also why are settings in the conf that "Don't change". It might 
> seem to show poorly on the product.

If it is a domain for which you are authoritative, you can set
it to be whatever you wish it to be in the pdns server zone
records. If it is a zone that you get through recursion, I
think you can use a lua script in the 3.3+ version of the
pdns-recursor to adjust the TTL returned to your clients.


More information about the Pdns-users mailing list