lioujheyu/synocfddns

Root Domain

Opened this issue · 5 comments

Hi @lioujheyu,

thank you for your script, it's working fine with my subdomain.domain.com, but can you explain me how can I update the main domain ? domain.com ? I've the error "nohost" when I try to update my root domain name.

thank you

Because you cannot.

When registering "subdomain.domain.com", the script will separate this string into "subdomain" as the host name and "domain.com" as the zone name, and send the appropriate request to the Cloudflare.

For registering "domain.com", the zone name becomes "com". Obviously it is impossible to have "com" as the zone name owned by you. You can manually try updating your DDNS entry in CloudFlare and understand this is not doable.

You might want to google host name and zone name to learn more.

@N47H4N you can, with cloudflareddns-syno.

@lioujheyu example.com is a perfect zone name and domain name. So just because your code is buggy by following Cloudflare examples blindly, it doesn't mean that it's not doable :) Also think what happens if you just split on some.example.co.uk domain.

@dvershinin thx ! I'll try as soon as possible =)

Any news about this ? This is a good script but this bug is problematic.

I'am not an expert in python and I just quickly read the script. I tried to remove the split but I got a connexion error.

@Mayzz03 I am sorry I am super busy recently and have no intention to update as long as it fits my needs. You might want to try @dvershinin 's script. It seems pretty solid to me with the easier installation process and dependance handling.