Skip to Content.
Sympa Menu

discuss - Re: [opennic-discuss] Updating dyn or whitelist won't work - API interface down

discuss AT lists.opennicproject.org

Subject: Discuss mailing list

List archive

Chronological Thread  
  • From: Jeff Taylor <shdwdrgn AT sourpuss.net>
  • To: discuss AT lists.opennicproject.org
  • Subject: Re: [opennic-discuss] Updating dyn or whitelist won't work - API interface down
  • Date: Mon, 12 Oct 2026 10:33:42 -0600

Sorry, I just saw this reply.  It turns out some folks have been asking about related issues on the mailing list and over the weekend I realized my LDAP servers were out of sync and not communicating with each other.  It took a bit of work but I finally figured out the issue.

As I have been updating code, I moved the IP address for services to point at the newer servers.  Unfortunately this left the LDAP with conflicting information when new zone files were generated every hour.  The error about the unexpected ? in the code was because the changes made for php8 are not compatible with the old php5 servers.

Anyway, I believe the LDAP servers are in sync again, all the pages should be correctly pointed at the new web servers, and hopefully things are working smoothly again.


On 9/29/26 12:12, Armin Tüting wrote:
On Mon, 2026-09-28 at 14:21 -0600, Jeff Taylor wrote:
I've been pulling errors from the log files and have fixed a number
of
issues for things that no longer work under PHP8.  Can you let me
know
if the API queries are going through now?
Nope!

The following errors while updating .dyn:-
armin-tueting.dyn => 502 Bad Gateway
tueting-online.dyn => 404 Not founf

Whitelist seems to work now, but unable to check

reg.dyn thows the following error while opening:-
Parse error: syntax error, unexpected '?' in
/home/opennic.oss/http/reg_v2/index.php on line 114


On 9/28/26 12:43, Armin Tüting wrote:
On Mon, 2026-09-28 at 20:32 +0200, Armin Tüting wrote:

are the user and\or token still valid?

On Mon, 2026-09-28 at 09:17 -0600, Jeff Taylor wrote:
I suspect you need to take a look at your script, you are
literally
sending the values USER and TOKEN to the server.  Found this in
the
logs...
GET /ddns/armin-tueting.dyn?user=$%7BUSER%7D&auth=$%7BTOKEN%7D
HTTP/1.1
@5.181.122.199
@5.181.122.199
ftp: Error retrieving
https://api.opennicproject.org/ip/update/?user=atueting&auth=tTGm5tkLd50pkj9gMjHZPGnCX2K1jpqC5TN0bWzd
: 500 Internal Server Error

However on top of that, it looks like the front-end server
stopped
passing API requests to the back-end server about 9 hours ago.
Trying
to
get that checked out.
Enclosed the script in charge on OpenBSD.

#!/bin/sh

# Variable
BASENAME=$(basename "$0")
BASENAME_DIR=$(dirname $(readlink -f "$0"))
USER='atueting'
TOKEN='tTGm5tkLd50pkj9gMjHZPGnCX2K1jpqC5TN0bWzd'
FTP_OPTION='-4 -V -M -o -'
# Dyn update
ftp ${FTP_OPTION}
"
https://api.opennicproject.org/ddns/armin-tueting.dyn?user=${USER}&aut
h=${TOKEN}
" || { logger "${BASENAME} armin-tueting.dyn: $?"; }
ftp ${FTP_OPTION}
"
https://api.opennicproject.org/ddns/tueting-online.dyn?user=${USER}&au
th=${TOKEN}
" || { logger "${BASENAME} tueting-online.dyn: $?"; }
# Whitelist
ftp ${FTP_OPTION}
"
https://api.opennicproject.org/ip/update/?user=${USER}&auth=${TOKEN}
"
{ logger "${BASENAME} whitelist: $?"; }
On 9/23/26 15:44, Armin Tüting wrote:
Hello,

I'm unable to update .dyn with below command

curl
"
https://api.opennicproject.org/ddns/armin-tueting.dyn?user=${USER}&a
uth=${TOKEN}
"
After 28 days I need to reregister......

Whitelisting - the url isn't found either.

Thanks for providing alternate DNS.

Regards,
Armin.


--------
You are a member of the OpenNIC Discuss list.
You may unsubscribe by emailing
discuss-unsubscribe AT lists.opennicproject.org

--------
You are a member of the OpenNIC Discuss list.
You may unsubscribe by emailing
discuss-unsubscribe AT lists.opennicproject.org


--------
You are a member of the OpenNIC Discuss list.
You may unsubscribe by emailing
discuss-unsubscribe AT lists.opennicproject.org



--------
You are a member of the OpenNIC Discuss list.
You may unsubscribe by emailing discuss-unsubscribe AT lists.opennicproject.org




Archive powered by MHonArc 2.6.24.

Top of Page