Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,8 @@ Eventually, you need to do this from a priviliged IP address to avoid the mailco

## nameserver update script

1. add the ZONE_SECRET_KEY to the .env file and load it using `export $(cat .env | xargs)`
2. adjust the url and zone in the `updatens.py` script
3. run the `updatens.py` script
1. update the UPDATENS_KEY_SECRET (and others) in the .env file and load it using `export $(cat .env | xargs)`
2. run the `updatens.py` script

You can also run this hourly as a cron job like this:
`7 * * * * cd /home/ffac/nsupdater && export $(cat .env | xargs) && python3 updatens.py`