Dynamic DNS error with dnsomatic

I have been using dnsomatic since forever and never had a problem with it.
Just recently I noticed that my hostnames aren't being updated.
When I checked the Dynamic DNS service log I found that all attempts to update the ip giving errors

191107       : #> /bin/uclient-fetch -q -O /var/run/ddns/DNS.dat -Y off 'http://user:***PW***@updates.dnsomatic.com/nic/update?hostname=all.dnsomatic.com&myip=xx.xx.xx.xx' 2>/var/run/ddns/DNS.err
191107 ERROR : uclient-fetch Error: '8'

Couldn't find any work around for it.
But replacing dnsomatic with another service like dynu for example, everything works fine
and when updating the ip I get

191129       : #> /bin/uclient-fetch -q -O /var/run/ddns/DNS.dat -Y off 'http://api.dynu.com/nic/update?hostname=myhostname.net&myip=xx.xx.xx.xx&username=user&password=***PW***' 2>/var/run/ddns/DNS.err
191130       : DDNS Provider answered:
good xx.xx.xx.xx

So the problem is localized to dnsomatic only so far.
Any ideas what might have caused dnsomatic to stop working for no apparent reason?
And is it just me who is getting errors with dnsomatic or are there others having the same problem?

Run the the update manually without -q and 2>/var/run/ddns/DNS.err and check the output. Consider using https.
See a similar thread: Problem with No-IP ddns client on OpenWrt

1 Like
/bin/uclient-fetch -O /var/run/ddns/DNS.dat -Y off 'http://user:***PW***@updates.dnsomatic.com/nic/update?hostname=all.dnsomatic.com&myip=xx.xx.xx.xx'
Downloading 'http://user:***PW***@updates.dnsomatic.com/nic/update?hostname=all.dnsomatic.com&myip=xx.xx.xx.xx'
Connecting to 146.112.255.155:80
Failed to redirect to /nic/update?hostname=all.dnsomatic.com&myip=xx.xx.xx.xx on updates.dnsomatic.com

Make sure you have certificates installed and try again. They are redirecting you to https URL.

HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://updates.dnsomatic.com/nic/update?hostname=all.dnsomatic.com
2 Likes

Installing the libustream-mbedtls package fixed it for me.

3 Likes

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