• Kevin Chen's avatar
    Remove setting rdataset->ttl to 0. When it is set to 0, stale records · da9fcfea
    Kevin Chen authored
    in "rndc dumpdb" output show 0 TTLs.
    
    Add rbtdb->serve_stale_ttl to various checks so that stale records are
    not purged from the cache when they've been stale for RBTDB_VIRTUAL
    (300) seconds.
    
    Increment ns_statscounter_usedstale when a stale answer is used.
    
    There's a question of whether overmem_purge should be purging ancient
    records, instead of stale ones.  I've left it as purging stale
    records, since stale records could take up the majority of the cache.
    da9fcfea
Name
Last commit
Last update
bin Loading commit data...
conftools/perllib/dnsconf Loading commit data...
contrib Loading commit data...
doc Loading commit data...
docutil Loading commit data...
lib Loading commit data...
libtool.m4 Loading commit data...
make Loading commit data...
unit Loading commit data...
util Loading commit data...
win32utils Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
Atffile Loading commit data...
CHANGES Loading commit data...
CONTRIBUTING Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYRIGHT Loading commit data...
HISTORY Loading commit data...
HISTORY.md Loading commit data...
Kyuafile Loading commit data...
LICENSE Loading commit data...
Makefile.in Loading commit data...
OPTIONS Loading commit data...
OPTIONS.md Loading commit data...
README Loading commit data...
README.md Loading commit data...
acconfig.h Loading commit data...
aclocal.m4 Loading commit data...
autogen.sh Loading commit data...
bind.keys Loading commit data...
bind.keys.h Loading commit data...
config.guess Loading commit data...
config.h.in Loading commit data...
config.h.win32 Loading commit data...
config.sub Loading commit data...
config.threads.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
isc-config.sh.1 Loading commit data...
isc-config.sh.docbook Loading commit data...
isc-config.sh.html Loading commit data...
isc-config.sh.in Loading commit data...
ltmain.sh Loading commit data...
mkinstalldirs Loading commit data...
version Loading commit data...