Extend dns expiry date on noip.com
-
Fork this repo https://github.com/ffreemt/extend-noip
-
Set the resultant repo
SecretsName Value NOIP_USERNAME: your_noip_username NOIP_PASSWORD: your_noip_password -
[Optionally] Change
crontabin line 6 of.github/workflows/on-push-schedule-extend-noip.yml(link) to your like. (This online crontab editor may come handy https://crontab.guru/#0_0_/9__*)
pip install extend-noipor clone https://github.com/ffreemt/extend-noip and install from the repo.
python -m extend-noip -u your_noip_username -p passwordor use directly the extend-noip script:
extend-noip -u your_noip_username -p password- Set username/password from the command line:
set NOIP_USERNAME=your_noip_username # export in Linux or iOS set NOIP_PASSWORD=password
- Or set username/password in .env, e.g.,
# .env NOIP_USERNAME=your_noip_username NOIP_USERNAME=password
Run extend-noip or python -m extend_noip:
extend-noipor
python -m extend_noipextend-noip -ior
python -m extend_noip -iextend-noip -dor
python -m extend_noip -dextend-noip --helpshortor
python -m extend_noip --helpshortYou can configure NOIP_HEADFUL, NOIP_DEBUG and NOIP_PROXY in the .env file in the working directory or any of its parent directoreis. For example,
# .env
NOIP_HEADFUL=1
NOIP_DEBUG=true
# NOIP_PROXYIt's straightforward to setup extend-noip to run via Github Actions, best with an infrequent crontab.
- Fork this repo
- Setup
Actions secretsviaSettings/Add repository secrets:
| Name | Value |
|---|---|
| NOIP_USERNAME: | your_noip_username |
| NOIP_PASSWORD: | your_noip_password |
For example, in .github/workflows/schedule-extend-noip.yml
name: schedule-extend-noip
on:
push:
schedule:
- cron: '10,40 3 */9 * *'
...
setup, e.g. pip install -r requirements.txt or
poetry install --no-dev
...
- name: Testrun
env:
NOIP_USERNAME: ${{ secrets.NOIP_USERNAME }}
NOIP_PASSWORD: ${{ secrets.NOIP_PASSWORD }}
run: |
python -m extend_noip -d -i