Project

General

Profile

Actions

Feature #13894

closed

Explicitly enable/disable DHCP Dynamic DNS updates in each scope

Added by Chris Linstruth almost 2 years ago. Updated 11 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
DHCP (IPv4)
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
24.03
Release Notes:
Default

Description

If DDNS is enabled in a DHCP scope, a DHCP configuration stanza like this is created for the domain specified:

zone example.com. {
    primary 10.1.1.1;
    key "dhcp_update_key";
}

This appears to cause ALL scopes serving leases in that domain to subsequently cause DDNS updates even though they are configured on only one scope. This is likely due to the fact that ddns-updates defaults to on:

ddns-updates flag;

The ddns-updates parameter controls whether or not the server will attempt to do a DNS update
when a lease is confirmed. Set this to off if the server should not attempt to do updates
within a certain scope. The ddns-updates parameter is on by default. To disable DNS updates
in all scopes, it is preferable to use the ddns-update-style statement, setting the style to none.

I propose explicitly setting ddns-updates off|on for every scope based on the status of $dhcpifconf['ddnsupdate'] for that scope.

Actions #1

Updated by Marcos M 11 months ago

  • Status changed from New to Pull Request Review
  • Assignee set to Marcos M
  • Target version set to 2.8.0
  • Plus Target Version set to 24.03
Actions #2

Updated by Marcos M 11 months ago

  • Status changed from Pull Request Review to Feedback
  • % Done changed from 0 to 100
Actions #3

Updated by Marcos M 11 months ago

  • Status changed from Feedback to Resolved
Actions #4

Updated by Jim Pingle 11 months ago

  • Subject changed from Explicitly enable/disable DHCP DDNS updates per scope to Explicitly enable/disable DHCP Dynamic DNS updates in each scope
Actions

Also available in: Atom PDF