DDNS using arbitrary zone primary
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.
#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.