Skip to main content

Updater for ipv64.net

Project description

How to install

The libary is avilable at pypi.org

pip install ipv64 or python -m pip install ipv64

How to update

pip install ipv64 --upgrade or python -m pip install ipv64 --upgrade

How to run

INFO

The Script did NOT run in a loop, you need to run it manually. The Script is NOT able to handle praefix - only the main domain can be updated

Windows

Update A and AAAA record if possible
python -m ipv64 -d YOUR_DOMAIN.ipv64.net -k ACCOUNT_UPDATE_TOKEN -t TYPE

Linux

Update A and AAAA record if possible
/usr/bin/python3 -m ipv64 -d YOUR_DOMAIN.ipv64.net -k ACCOUNT_UPDATE_TOKEN -t TYPE

run with cron

check every minute with cron

* * * * * /usr/bin/python3 -m ipv64 -d YOUR_DOMAIN.ipv64.net -uh ACCOUNT_UPDATE_TOKEN -d DISCORD_WEBHOOK

check every 30 seconds with cron

* * * * * /usr/bin/python3 -m ipv64 -d YOUR_DOMAIN.ipv64.net -k ACCOUNT_UPDATE_TOKEN -t TYPE
* * * * * sleep 30; /usr/bin/python3 -m ipv64 -d YOUR_DOMAIN.ipv64.net -k ACCOUNT_UPDATE_TOKEN -t TYPE

Help

usage: ipv64.py [-h] -d DOMAIN -k KEY -t TYPE

Update the IP for a domain on ipv64.net

options:
  -h, --help                  show this help message and exit
  -d DOMAIN, --domain DOMAIN  The domain to update (e.g. test.ipv64.net)
  -k KEY, --key KEY           Your ipv64 Account Update Token
  -t TYPE, --type TYPE        The Update Type (A or AAAA)```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipv64-0.5.3.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

ipv64-0.5.3-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page