Maintained by: NLnet Labs

[Unbound-users] cache-min-ttl

W.C.A. Wijngaards
Thu Jun 13 10:27:52 CEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Doug,

On 06/13/2013 04:02 AM, Doug Calvert wrote:
> Hello, I am confused about the option cache-min-ttl. u-control will
> not let me set or get the option. I have a value set in my conf
> file and u-checkconf does not print any errors regarding the
> option. However u-checkconf will not print the value.

That turns out to be an oversight in the code.  I have remedied this
(in svn trunk for the next release).  And I have also fixed so that
when you set min-ttl and max-ttl with unbound-control then it also
takes effect right away.

Best regards,
   Wouter

> What follows is a transcript of my debugging attempts:
> 
> root at fw:~# service unbound  restart Restarting recursive DNS
> server: unbound. root at fw:~# unbound-control -s 127.0.0.1 -c
> /etc/unbound/unbound.conf  status version: 1.4.20 verbosity: 1 
> threads: 2 modules: 2 [ validator iterator ] uptime: 26 seconds 
> unbound (pid 6066) is running... root at fw:~# unbound-control -s
> 127.0.0.1 -c /etc/unbound/unbound.conf get_option verbosity 1 
> root at fw:~# unbound-control -s 127.0.0.1 -c
> /etc/unbound/unbound.conf get_option cache-min-ttl error unknown
> option root at fw:~# unbound-checkconf unbound-checkconf: no errors in
> /etc/unbound/unbound.conf root at fw:~# unbound-checkconf -o
> cache-min-ttl [1371088240] unbound-checkconf[7654:0] fatal error:
> cannot print option 'cache-min-ttl' root at fw:~# grep cache-min-ttl
> /etc/unbound/unbound.conf cache-min-ttl: 60 root at fw:~#
> unbound-control -s 127.0.0.1 -c /etc/unbound/unbound.conf 
> set_option cache-min-ttl: 60 error setting option 
> _______________________________________________ Unbound-users
> mailing list Unbound-users at unbound.net 
> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJRuYKEAAoJEJ9vHC1+BF+NUOMP/A8VIl7UuQ2y3Otwx6JciGX+
0v434U7zK+awlXau10dQV2EWg89pGQSf7sZ1UB4AfgNv6fdiK7RL8Sd0lRL3v8Ej
HcxQzS+uop+xo6ICkte4jfAUWPoFEhxe98XekLASA+ME+UHLzvwaew8s/vwxpNty
jLOEzERn9Ti223tzgZ5hHehO3FeBWb5EfBxMm3K3aYgVCilJNDcV7TFVDJz0K+Ix
PVluLBsPfK9R7Vs64tvgS7vatT1dAM8ATwu8gHhgbNnVSoimrLoAUfZut2KoxJD2
ND0jmNb67A4Lktp5u9mwQzJ8ELkPonp9BY/S8w7kmJ8dQWAFUi6875bHlW4lqHuT
YZhiLIlSeQYy5dmUWU/OmNp17a1gdxpAhEIjjsa85cS5iqzh72k+wsE8tE474kPz
gRwc/5Le70t/ORNVA4e8F3cVprpwyLc36HqHP8+IMNUc7dGH6uK5UY1blzBbkIUz
fEPCBb78dRsCvpMUeUShUXUDMMI+oYRcwT+Bn4up5ZWFxl71q6djaVq/DCP6NpoU
H8by1jq8JWj3ih3ZrN0y+VHUkFRvqPQfiMzPxJ/z+ScNaIGi1WYIs8wwkmxua8yI
vwtiVssduSVt1nG27ep6h70KaBzpXM50e3QoNpTRzIju5rNHmfXaEIANAGQp1cTT
G/dfoUc1EijNjRxGh7SD
=cD5Y
-----END PGP SIGNATURE-----