Fix stale script filename references in README

Docs referenced ddns_porkbun.sh / ddns_porkbun_test.sh, which never
matched the actual files (porkbun-ddns.sh, porkbun-ddns-test.sh).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-22 23:25:24 +00:00
co-authored by Claude Sonnet 5
parent ac9947001b
commit d68f1f828f
+6 -6
View File
@@ -3,7 +3,7 @@
**Fecha:** Abril 2026
**Servidor:** labmini-01 (Dell Optiplex)
**Dominio:** carloselugo.com
**Ubicación del script:** `/opt/ddns/ddns_porkbun.sh`
**Ubicación del script:** `/opt/ddns/porkbun-ddns.sh`
---
@@ -17,7 +17,7 @@ Detectar cambios en la IP pública del homelab y actualizar automáticamente los
```
cron (cada 30 min)
→ ddns_porkbun.sh
→ porkbun-ddns.sh
→ obtiene IP pública (api.ipify.org)
→ compara con state file (~/.porkbun-ddns.last-ip)
→ si cambió → Porkbun API (editByNameType)
@@ -48,7 +48,7 @@ cron (cada 30 min)
| Archivo | Ruta |
|---|---|
| Script | `/opt/ddns/ddns_porkbun.sh` |
| Script | `/opt/ddns/porkbun-ddns.sh` |
| State file | `/home/netintel/.porkbun-ddns.last-ip` |
| Log | `/home/netintel/.porkbun-ddns.log` |
@@ -113,7 +113,7 @@ POST /dns/editByNameType/carloselugo.com/A/git
```bash
# crontab -e (usuario netintel)
*/30 * * * * /opt/ddns/ddns_porkbun.sh
*/30 * * * * /opt/ddns/porkbun-ddns.sh
```
Corre cada 30 minutos. Solo genera output en el log cuando la IP cambia.
@@ -124,7 +124,7 @@ Corre cada 30 minutos. Solo genera output en el log cuando la IP cambia.
```bash
# Correr manualmente
/opt/ddns/ddns_porkbun.sh
/opt/ddns/porkbun-ddns.sh
# Ver log
tail -f ~/.porkbun-ddns.log
@@ -133,7 +133,7 @@ tail -f ~/.porkbun-ddns.log
cat ~/.porkbun-ddns.last-ip
# Forzar una IP específica (solo script de prueba)
/opt/ddns/ddns_porkbun_test.sh -f 1.2.3.4
/opt/ddns/porkbun-ddns-test.sh -f 1.2.3.4
```
---