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
15 lines
308 B
JSON
15 lines
308 B
JSON
{
|
|
"name": "wan-ip-guard",
|
|
"version": "1.0.0",
|
|
"description": "Monitors WAN IP changes and updates DNS records + sends WhatsApp notification",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"start": "node index.js"
|
|
},
|
|
"dependencies": {
|
|
"dotenv": "^16.4.5"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
}
|
|
}
|