[Pdns-users] changing root server to local DNS

abang abang at t-ipnet.net
Tue May 15 14:45:58 UTC 2012


The ttl of geo.tv is 60s. So it works as designed. You can not increase 
the ttl of a RR in your cache. This is not allowed. But you can set a 
upper limit with

max-cache-ttl.
^^^

Am 15.05.2012 16:35, schrieb Muhammad Yousuf Khan:
> nope it didnt work either
>
> ;; ANSWER SECTION:
> geo.tv.                 60      IN      A       194.28.157.30
>
> ;; Query time: 202 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Tue May 15 19:30:31 2012
> ;; MSG SIZE  rcvd: 40
>
> root at proxy-prod-mirror:~# ^C
> root at proxy-prod-mirror:~# dig geo.tv
>
> ;<<>>  DiG 9.7.3<<>>  geo.tv
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14417
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;geo.tv.                                IN      A
>
> ;; ANSWER SECTION:
> geo.tv.                 60      IN      A       194.28.157.30
>
> ;; Query time: 203 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Tue May 15 19:31:55 2012
> ;; MSG SIZE  rcvd: 40
>
>
>
> see the results it should be 0 msec but even after less then 2 minutes
> interval it resets the cache. here is the config output
>
> root at proxy-prod-mirror:~# cat  /etc/powerdns/recursor.conf  | grep -v
> '^$' | grep -v '#'
> forward-zones=mydomain.com=10.51.100.8
> local-address=127.0.0.1
> local-port=53
> max-cache-ttl=2700
> quiet=yes
> setgid=pdns
> setuid=pdns
> threads=1




More information about the Pdns-users mailing list