Skip to content
Contents
GuidesOpenWrt

FreeDNS updates fail on OpenWrt: check DNS, TLS and the update account

Test DNS and HTTPS against a public page, check the clock and CA file, then validate an authorized FreeDNS record update.

If a dynamic DNS record stops updating, test the connection to FreeDNS separately from a record update. Start with its public home page. A private update URL can contain a token in its path or query string. Keep it out of shared logs, chats and screen recordings.

Test using the router's time, resolver, and download tool

date -u
nslookup freedns.afraid.org
ls -l /etc/ssl/certs/ca-certificates.crt
uclient-fetch -O /dev/null https://freedns.afraid.org/

Inspecting uclient-fetch and the CA certificate file on OpenWrt 25.12.6

First, compare the UTC time with the actual time. If there is a significant discrepancy, check the time synchronization and retry. If the domain has no address, first fix the router's own DNS resolution. If DNS resolution succeeds but shows connection timeout, check the default route and the faulty address family. If certificate verification fails, verify the domain name, system time, and trusted CA bundle. The existence of a certificate file only indicates that a certificate file is present—it does not prove the current certificate chain is valid. Perform an HTTPS test on the same host name from a computer on the same network, and retain the original error message.

Verify the public page, then the actual DNS record

Receiving an HTTP response indicates that the request has passed the previous connection phase, even if the returned status code indicates unauthorized access. If the public homepage loads normally but DDNS service still fails, go to «Services → Dynamic DNS», and verify the service provider, domain name, address family, and last response. If the service provider uses a different hostname for update requests, separately verify its DNS resolution and TLS configuration. Trigger a normal update using an existing authorized entry, then check the service provider's backend logs to confirm it has been updated to the expected public IP address; recursive caches may retain the old value until TTL expires.

When the service provider rejects a token, first verify the ownership of the record and domain, then follow their procedure to update the credentials. Before performing the operation, note the old record and the update interval. In case of anomalies, pause the automatic update and restore the previously confirmed values. The screenshot verifies the local tool and certificate file; no changes were made to the records in the reader's FreeDNS account.

When OpenWrt cannot install a package

Explore hardware

Comments