AdvancedTomato unknown error 401

I started with ddclient for ddns but you changed things so it didn’t work anymore, I had a tomato router so I found a way to use that with a custom built url but last week it seemed to stop working and has “unknown error (401)”. I went to check the url with curl but when I click api I get a url… If someone could help that would be great.

I guess I should do it myself… quick script for GNU to update every 10 mins, write a systemd service unit to execute on startup
zzzzzzzzz=your domain
xxxxxxxxxxxxx=zone id
yyyyyyyyyy=A record id
eeeeeeeeeeeeeeee=your email
kkkkkkkkkkkk=api key

while true;
curl -X PUT "" \
     -H "X-Auth-Email: eeeeeeeeeeeeeeee" \
     -H "X-Auth-Key: kkkkkkkkkkkk" \
     -H "Content-Type: application/json" \
--data '{"type":"A","name":"'$NAME'","content":"'$IP'","ttl":120,"proxied":false}'
sleep 10m

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.