Sign inSign up

cajaks2/python-ddns

By cajaks2

Updated about 8 years ago

Simple namecheap DDNS client periodically update dynamic dns with current ip address.

Image
0

10K+

cajaks2/python-ddns repository overview

Python-ddns This is a simple script that keeps namecheap ddns up to date with v4 address. It will not hit namecheap servers unless there is a difference between its dig and the call out to ipinfo. Due to the nature of dns, if it does detect a difference it may (depending on your frequency) send the update more than once.

Getting Started These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites Best way to run this is via docker with instructions below. It does require a fleshed out config file including your namecheap ddns password which can be generated on the advanced DNS page of your domain. The config is layed out like

[dynamic_dns]

host = domain = password = frequency = 15 namecheap_url = https://dynamicdns.park-your-domain.com/update? Frequency is in minutes, I would advise to not go below 5 minutes or above the minutes in a day.

Deployment Deployment I advise you go with docker otherwise you'll have to install a ton of dependencies.

To run with docker run a variant of

docker run -it -v pwd/example.conf:/opt/main.conf cajaks2/python-ddns For detached

docker run -td -v pwd/example.conf:/opt/main.conf cajaks2/python-ddns Be sure to pass through your config file.

Authors Cooper Jackson License This project is licensed under the MIT License - see the LICENSE.md file for details

Tag summary

Content type

Image

Digest

Size

49.5 MB

Last updated

about 8 years ago

docker pull cajaks2/python-ddns