Project

General

Profile

Feature #10412

DHCPv6 Static Entries are not updated on external DDNS server

Added by Csoban Kesmarki 2 months ago. Updated 7 days ago.

Status:
Resolved
Priority:
Normal
Category:
DHCP Server
Target version:
Start date:
04/02/2020
Due date:
% Done:

100%

Estimated time:

Description

Since pfSense 2.4.5 the isc-dhcp-server is 4.4.1 which supports "update-static-leases" statment for DHCPv6, too.

Associated revisions

Revision 1a618dc0 (diff)
Added by Viktor Gurov about 2 months ago

DHCPv6 update-static-leases. Issue #10412

Revision 510007ee (diff)
Added by Viktor Gurov about 1 month ago

DHCPv6 update-static-leases. Issue #10412

(cherry picked from commit 1a618dc0d1977120810bfd8454fd4deda0a4ed55)

History

#1 Updated by Csoban Kesmarki 2 months ago

Suggesting the following change (based on the services.inc in 2.4.5):

--- old/src/etc/inc/services.inc 2020-03-17 18:55:25.044950000 0100
+
+ new/src/etc/inc/services.inc 2020-03-17 18:54:24.178128000 +0100
@ -1610,6 +1610,7 @

if ($nsupdate) {
$dhcpdv6conf .= "ddns-update-style interim;\n";
+ $dhcpdv6conf .= "update-static-leases on;\n";
} else {
$dhcpdv6conf .= "ddns-update-style none;\n";
}

#2 Updated by Viktor Gurov about 2 months ago

Right, https://ftp.isc.org/isc/dhcp/4.4.1/dhcp-4.4.1-RELNOTES:

- The server now honors update-static-leases parameter for static DHCPv6
  hosts.

PR:
https://github.com/pfsense/pfsense/pull/4263

#3 Updated by Jim Pingle about 2 months ago

  • Status changed from New to Pull Request Review

#4 Updated by Jim Pingle about 2 months ago

  • Subject changed from DHCPv6 Statis Entries are not updated on external DDNS server to DHCPv6 Static Entries are not updated on external DDNS server

#5 Updated by Renato Botelho about 2 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 Jim Pingle about 1 month ago

  • Target version changed from 2.5.0 to 2.4.5-p1

#7 Updated by Jim Pingle 11 days ago

  • Status changed from Feedback to Resolved

Directive is present in the configuration, service runs without errors.

#8 Updated by Csoban Kesmarki 7 days ago

Side note: I'm using this modified configuration on my 2.4.5 as a patch since 4/02/2020 and updates my bind9 with all the reserved IPv6 addresses perfectly.

Also available in: Atom PDF