-
-
Notifications
You must be signed in to change notification settings - Fork 2
Description
cloudflare-ddns --file /etc/cloudflare-ddns/eample_domain.ext.ini
Record names cannot contain path separators!
im not exactly sure whats wrong with this command but it seems like its not parsing the command line arguments properly.
using --file=/path/to/domain.ini give me the following error message:
Bad usage! You can run the program without arguments and load the config in /etc/cloudflare-ddns/config.ini or pass the API token and the DNS record name as arguments
id like to avoid placing the API token on the command line due to multi-user environment and security issues.
having a unified configuration file would be ideal for multiple domain names as mentioned in #25 and in #22
having a --domain option would be a nice addition to the command line allowing the use of the API key to be in the configuration file while still being able to parse a comma separated list of domains
--domain domain1.ext,domain2.ext
or separately for clarity sake.
--domain domain1.ext --domain domain2.ext
the above approach lets users script multiple domains with a single API key stored in an INI file that is setup with the proper unix permissions for security while still maintaining ease of use and expand-ability.
so far this application has been the most usable solution to the DDNS problem..... its simple and straightforward with out a lot of extra fluff.