[Unbound-users] cache-min-ttl

Doug Calvert dfc-list at douglasfcalvert.net
Thu Jun 13 02:02:20 UTC 2013


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.

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



More information about the Unbound-users mailing list