mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-08-02 10:38:41 -04:00
ERROR extracting owners from domains: multiple domains specified #465
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 @jojo18222 on GitHub (Nov 19, 2024).
9a62043)I have multiple subdomains from goip and try to add all in one json object.
The readme says:
"you can specify multiple owners/hosts for the same domain using a comma separated list. For example with "domain": "example.com,sub.example.com,sub2.example.com",."
I don't know what I'm doing wrong...
Logs:
2024-11-19T10:45:28+01:00 INFO reading JSON config from file /updater/data/config.json
2024-11-19T10:45:28+01:00 ERROR extracting owners from domains: multiple domains specified: "sub1.goip.de" and "sub2.goip.de"
2024-11-19T10:45:28+01:00 INFO Shutdown successful
Configuration file (remove your credentials!):
Host OS: Debian 11
@qdm12 commented on GitHub (Nov 19, 2024):
Documentation was kind of terribly wrong!
8b15e355751138de5446e28b86f9c0The more details on this:
deforgoip.degoip.deforgoip.de- also the case for duckdns.org and goip.it. This is because goip.de is an effective TLD (you can't really buy/own goip.de).So technically the effective domain is
domain.goip.dewith root owner@, so when reading this the code thinks you are trying to pass it different domains. You could passsub.domain.goip.de,sub2.domain.goip.deand that would work.Now in the code, we use "eTLD+1" to get your domain. In your case, because
goip.deis an eTLD, the domains found aresub1.goip.de,sub2.goip.de, etc. and each has the root owner@.I preferred to fix/improve the documentation, since having this in code might cause a bunch of fun with mishandling what's the domain versus the owner. Anyway thanks for reporting this!
@jojo18222 commented on GitHub (Nov 19, 2024):
Thanks for your answer.
If I understand you correct, I have to use separate json objects for every (sub)domain of goip?#
Or is there a better way? in Version <= 2.7 it worked with host parameter set to goip.de and domain was "mydomain1,mydomain2".
@qdm12 commented on GitHub (Nov 19, 2024):
Yes, because now and going forward we use 'effective domains' (effective TLD is goip.de, effective domain is xyz.goip.de with root owner). Otherwise it's a whole mess to handle
sub.domain.goip.de: what's the owner, what's the domain etc.?You could possibly still use the meant-to-be-retro-compatible form with
"domains": "goip.de", "owner": "a,b"and that may work.