Add Dynamic DNS Domains as a static-file #62
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Focus of the list
I focused on finding providers that offered free (in most cases) subdomains of domains owed by the provider. I did not attempt to find domains that are using dynamic dns providers to update the ips, but do not provide subdomains to external parties.
Question
I wasn't sure if the domains needed a leading
.
to ensure that the domains aren't a substring of another domain which isn't a dynamic dns domain. For exampledynet.com
!=commericaldynet.com
- Please let me know if a leading.
is appropriate and I can adjust the script to prepend a.
and update the PR.utils/dyn_dns_updates.py
I know that static lists are often a hassle to update. So I created a python script to deal with the updating and document the sources and make it easy to add more as the come along. There isn't much error catching as it's meant to be run manually whenever updates are required.
Honestly, this got a bit more complicated than I thought it would be. I kept finding odd issues with providers, some required a POST with data to get the list, others needed anti-bot evasion, others needed logins to see the list of domains. I've attempted to make it easy to add new providers, everything is pretty flexible and should be easily maintained.
Happy to get any feedback.