[PowerDNS] Configure specific TTL for a zone #16724
-
|
Hello, We would like to know if it is possible to configure a specific TTL for a DNS zone. PowerDNS seems to only consider the global parameter for all zones, as well as the TTLs specified when adding RRsets. We need a TTL of 3600 for some zones, and a TTL of 300 for others. Modifying the TTL directly in the database does not work either... Any ideas? Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
What do you mean by this? Can you show what you did, what you got, and tell us how that differs from what you expected? |
Beta Was this translation helpful? Give feedback.
If you don't specify a ttl in your
pdnsutil add-recordcommand, the default ttl from the authoritative server configuration (default-ttl) is used, and if you didn't specify a value for it, its default value is... 3600. And yes, as you note, it will affect all zones.There is currently no way in
pdnsutilto reuse theSOAttl for new records if you don't specify a ttl.