feat: WAN IP Guard - dynamic DNS updater with WhatsApp notifications

Checks public WAN IP every 5 minutes via systemd timer. On change:
- Updates A-records via DirectAdmin API (login key auth)
- Sends WhatsApp notification via wwebjs-api
This commit is contained in:
Eddy de Vink 2026-06-21 09:53:28 +02:00
commit c4c80e98af
9 changed files with 461 additions and 0 deletions

30
package-lock.json generated Normal file
View file

@ -0,0 +1,30 @@
{
"name": "wan-ip-guard",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "wan-ip-guard",
"version": "1.0.0",
"dependencies": {
"dotenv": "^16.4.5"
},
"engines": {
"node": ">=18"
}
},
"node_modules/dotenv": {
"version": "16.6.1",
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.6.1.tgz",
"integrity": "sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==",
"license": "BSD-2-Clause",
"engines": {
"node": ">=12"
},
"funding": {
"url": "https://dotenvx.com"
}
}
}
}