From 657ff0c14f5fd2286d9f11f0f6d59f1f8a7e9c8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20Kr=C3=BCger?= <1977er@users.noreply.github.com> Date: Sat, 26 Jul 2025 13:40:30 +0200 Subject: [PATCH 1/2] Update README.md Adjust README to code. --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1462507..aa542af 100644 --- a/README.md +++ b/README.md @@ -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` From f80fb304fe0d684405286de55823e27767bf0333 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20Kr=C3=BCger?= <1977er@users.noreply.github.com> Date: Sat, 26 Jul 2025 13:43:56 +0200 Subject: [PATCH 2/2] Update README.md fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index aa542af..7a96928 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ Eventually, you need to do this from a priviliged IP address to avoid the mailco ## nameserver update script -1. update the UPDATENS_KEY_SECRET (and others in the .env file and load it using `export $(cat .env | xargs)` +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: