Differnt TTL for records in a zone not maintained

groenleer

Verified User
Joined
Jul 24, 2006
Messages
14
Location
Tilburg
Hi Folks,

I am having a small problem with DNS and i was hoping that we all could solve this.

I have domain (call it example.net) and we are using it to utilise a CDN/ReverseProxy service.

Therefore we have listed some servers in the zone with A records,
s001 14400 IN A [ip001]
s002 14400 IN A [ip002]
s003 14400 IN A [ip003]
...
s010 14400 IN A [ip010]

We also have some CNAME's in there.
The CNAME's are used to do roundrobin loadbalancing.
The CNAME's end up in the zone with the same TTL

cdn 14400 IN CNAME s001.example.net.
cdn 14400 IN CNAME s002.example.net.
cdn 14400 IN CNAME s003.example.net.
...
cdn 14400 IN CNAME s010.example.net.


What i want is that the CDN cname's end up with a TTL of 5 minutes (300 seconds).
I modified the zone file by hand and reloaded named. Which works fine.
But as soon as one of the less DNS-oriented admin's add or modify records in the zone, the TTL get's reset to 14400.

We are using only the DNS management feature from DA for this zone. There is no user attached to the zone.

What could i do, to maintain this lower TTL for only those records?

An alternative would be to utilise only the PowerDNS master database which is populated from the various VPS's and dedicated servers we have.
 
Back
Top