/powerdns_dyndns

Primary LanguagePHPMIT LicenseMIT

PowerDNS API

Description

This is a simple Tool to get a DynDNS compatible API for your PowerDNS DNS System. It uses the same Users like you already have with PowerAdmin for the DynDNS API Login. Additional it also provides an Endpoint designed for requesting DNS challenge SSL certificates through Certbot.

Installation

composer install

DynDNS Mode

This shows the example configuration on an EdgeRouter Firewall

CLI:

set service dns dynamic interface eth0 service custom-powerdns host-name mydomain
set service dns dynamic interface eth0 service custom-powerdns login mylogin
set service dns dynamic interface eth0 service custom-powerdns password mypassword
set service dns dynamic interface eth0 service custom-powerdns protocol dyndns2
set service dns dynamic interface eth0 service custom-powerdns server myserver/dyndns

GUI:

configuration example

ACME Mode

Please take a look at following gist for TXT ACME mode: https://gist.github.com/berkutta/dc34857f01c6b0a63c7fabd1540513c7