Project

General

Profile

Bug #4367

Incorrect rrset-cache-size in unbound.conf

Added by Juraj Binka over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Category:
DNS Resolver
Target version:
Start date:
02/02/2015
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.2
Affected Architecture:

Description

In /usr/local/www/services_unbound_advanced.php is missing code responsible for setting correct value for rrset-cache-size in unbound.conf. As a result, the rrset-cache-size is stuck at 8MB regardless of what value is chosen in web configurator for msg-cache-size.

More information: https://forum.pfsense.org/index.php?topic=87930.0

Associated revisions

Revision 2597415b (diff)
Added by Chris Buechler over 4 years ago

rrset-cache-size should == 2 * msg-cache-size. Ticket #4367

Revision b3aacd59 (diff)
Added by Chris Buechler over 4 years ago

rrset-cache-size should == 2 * msg-cache-size. Ticket #4367

History

#1 Updated by Phillip Davis over 4 years ago

unbound.conf is generated by back-end code in /etc/inc/unbound.inc

Search for rrset_cache_size and rrset-cache-size - you will see it is hard-coded:
rrset-cache-size: 8m

That seems to be the way it was initially submitted. Currently there is no calculation done. I have no idea why.

#2 Updated by Chris Buechler over 4 years ago

  • Status changed from New to Feedback
  • Assignee set to Chris Buechler

that was apparently an oversight, thanks for catching. It should be fixed with what I just committed, which sets rrset-cache-size to 2 * msg-cache-size. That was Warren's intent as well given the descriptive text on the advanced page, just wasn't implemented that way for some reason.

#3 Updated by Chris Buechler over 4 years ago

  • Status changed from Feedback to Resolved

fixed

Also available in: Atom PDF