Project

General

Profile

Actions

Feature #3534

open

DDNS using arbitrary zone primary

Added by Andreas Pflug almost 11 years ago. Updated over 10 years ago.

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

0%

Estimated time:
Plus Target Version:
Release Notes:

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.


Files

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
Actions #1

Updated by Renato Botelho almost 11 years ago

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

Actions #2

Updated by Chris Buechler almost 11 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.

Actions #3

Updated by Andreas Pflug over 10 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.

Actions

Also available in: Atom PDF