diff --git a/README.md b/README.md index 0f3aaf0..8d6ea86 100644 --- a/README.md +++ b/README.md @@ -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 ``` ---