Project

General

Profile

Bug #8981

Uncheck DHCP registration does not clear entries

Added by Ender L about 2 years ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Category:
DNS Resolver
Target version:
Start date:
09/30/2018
Due date:
% Done:

100%

Estimated time:
Affected Version:
Affected Architecture:

Description

Uncheck the DHCP registration box in Unbound setting GUI should clear the contents of /var/unbound/dhcpleases_entries.conf to stop resolving these hostnames. Uncheck static entries should also update host_entries.conf. The current behavior is that these files leave untouched and unbound continue to resolve these hostnames.

@Gertjan has provided a fix, would like to see this ported into official release:
https://forum.netgate.com/topic/135409/unbound-dhcp-registration-checkbox-bug/16

Associated revisions

Revision 7e79c173 (diff)
Added by Viktor Gurov 7 months ago

Clear DNS dhcpleases entries. Issue #8981

History

#1 Updated by Jim Pingle about 1 year ago

  • Category set to DNS Resolver

#2 Updated by Viktor Gurov 7 months ago

Unchecking "static entries" successfully updates host_entries.conf,- tested on 2.5.0.a.20200325.1429

dhcpleases_entries.conf fix:
https://github.com/pfsense/pfsense/pull/4252

#3 Updated by Jim Pingle 7 months ago

  • Status changed from New to Pull Request Review

#4 Updated by Jim Pingle 7 months ago

  • Target version set to 2.5.0

#5 Updated by Renato Botelho 7 months ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Renato Botelho
  • % Done changed from 0 to 100

PR has been merged. Thanks!

#6 Updated by Viktor Gurov 7 months ago

  • Status changed from Feedback to Resolved

works as expected on 2.5.0.a.20200403.1936

Also available in: Atom PDF