ethanpil / dyndns-cpanel Goto Github PK
View Code? Open in Web Editor NEWDynamic DNS update script for CPanel accounts with DYNDNS.com API
Dynamic DNS update script for CPanel accounts with DYNDNS.com API
It may be worth noting that for some reason under certain server configurations 'customonly' must be set to 0 in order to find subdomain records. This is regarding line 209 https://github.com/ethanpil/dyndns-cpanel/blob/master/dyndns.php#L209
It might be useful to put this in the error message or in the readme.
This seems to not work for me
Further investigation leads to this
https://blog.cpanel.com/making-your-script-work-with-security-tokens-in-cpanel-whm/
as I get "Token Denied"
I think we need to get the cp_security_token from enviroment variables and incorporate that into the URL.
I haven't been able to figure out why, but if I try to use the built in http auth method it just won't accept any logins, no matter what I try...
If I use...
$php_auth_user = 'imauser';
$php_auth_pw = 'imapassword';
then visit the page to test, I get prompted for an http username and password, and if I enter imauser and imapassword I get prompted again and again.
If I comment this section out and just have Apache handle the auth its self, everything works just perfect! :)
Not sure why this is?
Might not hurt to maybe recommend some windows clients to that will work with such a dyndns format for automated updates? I honestly havent found any decent free ones and scheduling a task for a normal user isnt to much fun. lol
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.