Project

General

Profile

Feature #3534

DDNS using arbitrary zone primary

Added by Andreas Pflug about 5 years ago. Updated almost 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
DHCP Server
Target version:
-
Start date:
03/20/2014
Due date:
% Done:

0%

Estimated time:

Description

Currently, the zone primary is taken from the client zone configuration (fields DNS servers for primary and secondary).
I'm running dnsmasq for all resolving purposes, but redirect to a non-recursive master bind server for local name services, so client-DNS isn't the same as the ddns zone master.

I made a little hack so that I can assign a ddns-primary that replaces the system wide dns in the ddns zone definition.
Patch against 2.1 attached.

services_dhcp.php.diff (2.81 KB) services_dhcp.php.diff Andreas Pflug, 03/20/2014 11:06 AM
services.inc.diff (512 Bytes) services.inc.diff Andreas Pflug, 03/20/2014 11:06 AM

History

#1 Updated by Renato Botelho about 5 years ago

Please submit proposed patches using github pull request tool. It's much easier to developers to review and apply changes.

#2 Updated by Chris Buechler about 5 years ago

  • Target version deleted (2.1.1)
  • Affected Version deleted (All)

Please submit the pull request on the master branch, the RELENG_2_1 branch is for bug fixes only.

#3 Updated by Andreas Pflug almost 5 years ago

Please consider spending 7 seconds on a glance at the few lines I posted, it's really trivial. I'm not inclined to pull a whole project for this.

if ($dhcpifconf['ddnsprimary'] <> "")
$primary = $dhcpifconf['ddnsprimary'];

and add a ddnsprimary field to the gui.

Also available in: Atom PDF