Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to provide a custom IP checker URL. #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pgreenland
Copy link

Hi,

After being hit by the recent opendns issues, I thought I might switch to a private IP source, such as my home router.

Rather than just hack in my new URL I thought it might be useful for others to add the ability for a custom URL to be provided.

This patch adds a new IPCHECKER "custom" with an associated parameter IPCHECKER_CUSTOM_URL, specifying the URL to request the external IP from.

I've added HTTP support too, selected based on the URI scheme, with a warning generated if HTTP is used.

Documentation updated (along with a few typos), container built and published to my dockerhub account (pgreenland/route53-dynamic-dns:latest), have tested with the default and my custom handler.

FYI I'm not normally a node.js / javascript developer, so I may have done something monumentally stupid somewhere. Happy for you to suggest or make any changes required to include it.

Great project btw, saved me a ton of work!

Thanks,

Phil

@sjmayotte
Copy link
Owner

Hi @pgreenland! Thanks for your contribution! Will review over the next few weeks and get it merged.

@sjmayotte
Copy link
Owner

Hi @pgreenland thanks for your contribution! I got really busy around the holiday and started a new job in the new year. Will get this merged shortly. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants