[GH-ISSUE #101] Dynamic DNS update support #56

Open
opened 2026-02-28 01:20:47 +03:00 by kerem · 6 comments
Owner

Originally created by @berrnd on GitHub (Aug 10, 2016).
Original GitHub issue: https://github.com/tuxis-ie/nsedit/issues/101

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

Originally created by @berrnd on GitHub (Aug 10, 2016). Original GitHub issue: https://github.com/tuxis-ie/nsedit/issues/101 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](https://github.com/berrnd/nsedit/blob/5740bc0345454be1de7450f1d4ae29c96e62c47e/dynamic_update.php). See berrnd@5740bc0345454be1de7450f1d4ae29c96e62c47e
Author
Owner

@tuxis-ie commented on GitHub (Aug 10, 2016):

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?

<!-- gh-comment-id:238972365 --> @tuxis-ie commented on GitHub (Aug 10, 2016): 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?
Author
Owner

@berrnd commented on GitHub (Aug 10, 2016):

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.)

<!-- gh-comment-id:238975333 --> @berrnd commented on GitHub (Aug 10, 2016): 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](https://github.com/poweradmin/poweradmin/blob/master/dynamic_update.php).)
Author
Owner

@tuxis-ie commented on GitHub (Aug 11, 2016):

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.

<!-- gh-comment-id:239108242 --> @tuxis-ie commented on GitHub (Aug 11, 2016): 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.
Author
Owner

@celevra commented on GitHub (Aug 16, 2016):

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

<!-- gh-comment-id:240013273 --> @celevra commented on GitHub (Aug 16, 2016): 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
Author
Owner

@Kraeutergarten commented on GitHub (Sep 29, 2016):

+1 for dyndns support

<!-- gh-comment-id:250394644 --> @Kraeutergarten commented on GitHub (Sep 29, 2016): +1 for dyndns support
Author
Owner

@aschieb commented on GitHub (Apr 11, 2017):

+1 for dyndns support

<!-- gh-comment-id:293303411 --> @aschieb commented on GitHub (Apr 11, 2017): +1 for dyndns support
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nsedit#56
No description provided.