Adding subdomain prematurely truncates main domain #1
Loading…
Reference in New Issue
Block a user
No description provided.
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?
My domain name (obscura.za.net) is successfully added to the local DDNS database, but when adding a subdomain returns the following error:
I can verify that the correct domain
obscura.za.net
exists in the DB:Ah!
Thanks for the feedback!
Right now it is a limit of one domain (e.g demo.com).
I can have a look at it down the line - to add the possibility for sub domains of sub domains.
I need to find a middle way to determin how many sub domains to support. The max is 127 with a char limit of 63 for each level but with a max of the whole tree of 253 chars. (Wikipedia)
I can't promise any timeframe for this. But you're wellcom to submit a PR ;-)
[edit]
I see that this will impact users of e.g. co.uk etc. I'll try to have a new version ready to fix this in a weeks time - but no promise on the timeframe 😀
Atb,
Rune
Fixed in version 0.5.1
Thanks to @Gunb0atDiplomat for the heads-up!
Rune
Related-seeming issue found in v0.5.1:
Also found the following error, not sure if related:
However, when I deleted all but one of my A records, my other subdomains show up in a listing:
Possibly the (sub)domain listing function is hiding some domains by limiting the listing.
Hi!
Yes there was an error adding domains exisiting on Digital Ocean but not in you local db when the domain name was like test.co.uk. I've released a fix in version 0.5.2 for this!
If you want to add the root of the domain to ddns you need to use the @ name.
E.g:
You have 3 domains
you need to use
ddns -k @.example.za.net [DOMAINID]
to add the one(s) you want to add. The one you added will then don't show up inddns -o example.za.net
but it will show up inddns -l example.za.net
.Hope this helps!
Rune