diff --git a/README.md b/README.md index aebf448..0f3aaf0 100644 --- a/README.md +++ b/README.md @@ -33,8 +33,14 @@ cron (cada 30 min) | `@` | `carloselugo.com` | A | | `gamesever1` | `gamesever1.carloselugo.com` | A | | `git` | `git.carloselugo.com` | A | +| `void` | `void.carloselugo.com` | A | +| `tools` | `tools.carloselugo.com` | A | +| `mealie` | `mealie.carloselugo.com` | A | +| `md` | `md.carloselugo.com` | A | +| `hits` | `hits.carloselugo.com` | A | +| `fotos` | `fotos.carloselugo.com` | A | -> **Nota:** `*.carloselugo.com` tiene un CNAME apuntando a `carloselugo.com`, por lo que cualquier subdominio nuevo hereda la IP del root automáticamente sin necesitar su propio registro A. +> **Nota:** cada subdominio es su propio registro A independiente (no hay wildcard/CNAME heredando la IP del root) — un subdominio nuevo debe agregarse explícitamente al array `SUBDOMAINS` del script, si no, el script nunca lo va a mantener actualizado aunque el registro exista en Porkbun. --- @@ -54,7 +60,7 @@ cron (cada 30 min) API_KEY="pk1_..." # Porkbun API key SECRET_KEY="sk1_..." # Porkbun secret key DOMAIN="carloselugo.com" -SUBDOMAINS=("@" "gamesever1" "git") +SUBDOMAINS=("@" "gamesever1" "git" "void" "tools" "mealie" "md" "hits" "fotos") STATE_FILE="/home/netintel/.porkbun-ddns.last-ip" LOG_FILE="/home/netintel/.porkbun-ddns.log" ``` diff --git a/porkbun-ddns.sh b/porkbun-ddns.sh index d0673ab..9061461 100755 --- a/porkbun-ddns.sh +++ b/porkbun-ddns.sh @@ -19,7 +19,7 @@ source /opt/ddns/.ddns-env DOMAIN="carloselugo.com" -SUBDOMAINS=("@" "gamesever1" "git") # "@" = root domain +SUBDOMAINS=("@" "gamesever1" "git" "void" "tools" "mealie" "md" "hits" "fotos") # "@" = root domain STATE_FILE="/home/netintel/.porkbun-ddns.last-ip" LOG_FILE="/home/netintel/.porkbun-ddns.log"