Using the new DDNS feature
I am testing out the new DDND feature introduced in v92.
I have it setup in CPanel, but need clarification on how to call it to update the IP.
My DD-WRT router had a DDND updater built in. It insists that I enter a username and password, so I added the CPanel account details.
Viewing it's logs, it seems to send a GET request like this:
[QUOTE]GET /cpanelwebcall/zvatjiaxfbfkioueyzpvv?home..com HTTP/1.0
Authorization: Basic ZGRhZGRtMHRlY21h
Host: .com
User-Agent: inadyn advanced/1.96-ADV ='software@stevehorbachuk.com'>software@exampledomain.com
You can see it connects to the host using the path supplied by the DDNS page in CPanel. It sends the user/pass as a basic auth header. It also insists on appending the DDNS host to the end as a query parameter. I've read the DDNS instructions page, but are there any technical details on what the updater will be looking at? With the above request I get this response: [QUOTE] Tue Dec 1 14:36:04 2020: W:INADYN: Response Code: 1 Tue Dec 1 14:36:04 2020: W:INADYN: Error validating DYNDNS svr answer. Check usr,pass,hostname! (HTTP/1.1 404 Not Found Date: Tue, 01 Dec 2020 14:36:04 GMT Server: Apache Content-Length: 315 Connection: close Content-Type: text/html; charset=iso-8859-1 Not Found The requested URL was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. )
I already have DDNS working using a custom script, but thought i'd give this new feature a whirl.
You can see it connects to the host using the path supplied by the DDNS page in CPanel. It sends the user/pass as a basic auth header. It also insists on appending the DDNS host to the end as a query parameter. I've read the DDNS instructions page, but are there any technical details on what the updater will be looking at? With the above request I get this response: [QUOTE] Tue Dec 1 14:36:04 2020: W:INADYN: Response Code: 1 Tue Dec 1 14:36:04 2020: W:INADYN: Error validating DYNDNS svr answer. Check usr,pass,hostname! (HTTP/1.1 404 Not Found Date: Tue, 01 Dec 2020 14:36:04 GMT Server: Apache Content-Length: 315 Connection: close Content-Type: text/html; charset=iso-8859-1 Not Found The requested URL was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. )
I already have DDNS working using a custom script, but thought i'd give this new feature a whirl.
-
If there's an update we'll definitely post it to that page, but I don't have anything to provide at this time. 0 -
@alepaes - thanks for the detailed reply. Would you happen to be doing this work on a CloudLinux system? If so, can you check out our article here to see if that helps with your situation? 2. Edit the file and add the below syntax. ( The following should be on one line, as this is very important. ) ProxyPass /cpanelwebcall/
0 -
Update - the developers are actively working on fixes for these and once I know more I'll be sure to post again :D 0 -
Customers are still waiting for and DDNS that is actually working! Any ETA for a fix? 0 -
The previous CloudLinux problems no longer seem to be an issue with my testing, so all issues now fall under the other thread you've replied to for case CPANEL-36392. 0
Please sign in to leave a comment.
Comments
35 comments