nsedit icon indicating copy to clipboard operation
nsedit copied to clipboard

Dynamic DNS update support

Open berrnd opened this issue 9 years ago • 6 comments

Hi,

first - thanks for nsedit! :) Just upgraded today my nameservers to PowerDNS 4.x and also replaced poweradmin with nsedit...

The only thing I was missing, is dynamic DNS update support (the thing you need when your home router gets a new IP every night).

I have implemented this right now. Because routers normally require HTTP basic authentication, the current login mechanism is not working for that. I have used the "adminapikey" as password, and fix "admin" as username. Don't know if this is good or not...

Feel free to use it, or if this looks good to you I could also create a pull rquest - everything should be explained in the header of dynamic_update.php.

See berrnd@5740bc0345454be1de7450f1d4ae29c96e62c47e

berrnd avatar Aug 10 '16 19:08 berrnd

You're welcome!

I'm not sure if I find nsedit the correct place to do this. Is this dynamic update what is described here: https://doc.powerdns.com/md/authoritative/dnsupdate/

We might be able to do something with that?

tuxis-ie avatar Aug 10 '16 19:08 tuxis-ie

Didn't read in full - but as far I can see this is nothing that takes a simple HTTP GET request with basic authentication and updates the given records (this is the way the most when not all consumer routers do dynamic DNS updates).

(Poweradmin also had that, same named PHP script.)

berrnd avatar Aug 10 '16 19:08 berrnd

Ok, had a good nights sleep and figured that we can incorporate this, but we are going to fix it with users and ownership of the domain. Not yet sure how, but that makes sense the most.

tuxis-ie avatar Aug 11 '16 09:08 tuxis-ie

you can do basic authentification with php and plug it into the allready existing user db: http://php.net/manual/de/features.http-auth.php

+1 for dyndns support

celevra avatar Aug 16 '16 06:08 celevra

+1 for dyndns support

Kraeutergarten avatar Sep 29 '16 07:09 Kraeutergarten

+1 for dyndns support

aschieb avatar Apr 11 '17 15:04 aschieb