Project

General

Profile

Actions

Feature #4667

closed

DNS Resolver - ability to save/restore cache went missing

Added by Kill Bill over 9 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
DNS Resolver
Target version:
-
Start date:
04/30/2015
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:

Description

In the 2.1.x unbound package, there is this dumpcache variable to control saving and restoring the cache (https://github.com/pfsense/pfsense-packages/blob/master/config/unbound/unbound.xml#L179). E.g., everytime a DHCP Registration occurs, the cache is lost. It looks like all the required code it still there in /etc/inc/unbound.inc etc., at least on a quick look, just the toggle went AWOL.

This is needed since even a graceful unbound-control reload flushes the cache - which, frankly, is just broken upstream design - https://www.freebsd.org/cgi/man.cgi?query=unbound-control&apropos=0&sektion=0&manpath=FreeBSD+10.1-RELEASE&arch=default&format=html

:(

Related forum discussion: https://forum.pfsense.org/index.php?topic=89589.msg517047#msg517047 and posts that follow.

Actions

Also available in: Atom PDF