[Pdns-users] soa-minimum-ttl not working

Helge Milde helge at monsternett.no
Wed Nov 17 07:41:01 UTC 2010


Hi!

I recently found out that our PowerDNS server is using a TTL value of 3600 on our DNS records, which is too low.
As you can see in the example below, the SOA specifies a TTL value of 86400, which is where we want it to be. I've also changed soa-minimum-ttl to 86400 in /etc/powerdns/pdns.conf and restarted the server, but the records still shows up with TTL 3600.
Have I stumbeled upon a bug, or is this just pure ignorance from my part :-)?

PS. We're using an LDAP backend, and I know there's a dNSTTL attribute I could use for this, but then we'll have to change the schema from dNSDomain to dNSDomain2, which can be a pain.

=== Example ===
$ dig 19.no @217.171.199.98
;; QUESTION SECTION:
;19.no.                         IN      A
;; ANSWER SECTION:
19.no.                  3600    IN      A       217.171.199.100

$ dig soa 19.no @217.171.199.98
;; QUESTION SECTION:
;19.no.                         IN      SOA
;; ANSWER SECTION:
19.no.                  3600    IN      SOA     ns1.halden.org. hostmaster.halden.org. 2009112701 10800 3600 604800 86400

=== Server info ===
PowerDNS version: 2.9.21.2
OS: Debian 5.0

=== pdns.conf ===
allow-axfr-ips=195.159.233.10 194.63.248.53 195.159.233.14
allow-recursion-override=on
cache-ttl=60
config-dir=/etc/powerdns
daemon=yes
disable-axfr=no
guardian=yes
launch=ldap
lazy-recursion=yes
local-address=217.171.199.98
local-port=53
log-dns-details=yes
log-failed-updates=yes
loglevel=100
master=yes
module-dir=/usr/lib/powerdns
query-local-address=217.171.199.98
recursor=127.0.0.1:1234
setgid=pdns
setuid=pdns
slave=yes
soa-minimum-ttl=86400
socket-dir=/var/run
webserver=no
wildcards=yes
version-string=anonymous
include=/etc/powerdns/pdns.d

== pdns.d/pdns.local ===
launch=ldap
ldap-host=ldapi://%2Fvar%2Frun%2Fslapd%2Fldapi
ldap-basedn=ou=xxxxx,dc=xxxxx,dc=xxxxx
ldap-method=tree

-- 
Helge Milde, 69701808
www.monsternett.no





More information about the Pdns-users mailing list