mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-08-02 10:38:41 -04:00
Bug: ERROR /config/updates.json validation error: IP 2 of 2 is empty for record #156
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Narflar on GitHub (Dec 17, 2021).
Originally assigned to: @qdm12 on GitHub.
If a domain from the config never gets an IP, the updates.json stays empty (ip": "",), If I start ddns-updater it registers that empty IP as an error and shuts down. I have to delete the updates.json before I restart ddns-updater.
TLDR: blank IPs in updates.json crash the app.
fa15abb)Logs:
Configuration file (remove your credentials!):
config.json
updates.json
Host OS: Synology 7 DSM
@ThomasHineXYZ commented on GitHub (Mar 31, 2023):
I'm also having this issue.
@scolandrea commented on GitHub (Oct 30, 2023):
Same here.
@semuhphor commented on GitHub (Nov 19, 2023):
Ditto... IP is empty: IP 1 of 1 for record {"domain":"r---com","host":"@","ips":[{"ip":"","time":"2023-11-19T00:28:25.40830184-05:00"}]}
Running in Truenas.
/mnt/Main/ix-applications/releases/ddns-updater/volumes/ix_volumes/data/config.json
On GoDaddy, the IP is set to 127.0.0.1
admin@truenas[.../ddns-updater/volumes/ix_volumes/data]$ nslookup
Non-authoritative answer:
Name: r---.com
Address: 127.0.0.1
I've replace all of my actual domains with "r---.com"
@semuhphor commented on GitHub (Nov 19, 2023):
Ok .... So I fixed it.
The problem was in the updates.json file. The IP address in the updates.json file must match the A record in your DNS manager. I had read somewhere that if the A record was set to 127.00.1, it would work, but that's not the case. I reset it to my current IP addres (whatismyipaddres.com) and it works like a champ.
The file is /mnt/Main/ix-applications/releases/ddns-updater/volumes/ix_volumes/data/updates.json.
The contents are:
--- is redacted.
@qdm12 commented on GitHub (Jan 27, 2024):
Fixed in
7f0e858fa0Thank you for your long patience!!