From 461699d579d5558269a286f5fdc8418514b3f7cb Mon Sep 17 00:00:00 2001 From: Pegasus <42954461+leonace924@users.noreply.github.com> Date: Tue, 6 Jan 2026 02:53:17 -0500 Subject: [PATCH] fix: allow querying the root DNS zone (#6602) Co-authored-by: Frank Elsinga --- src/pages/EditMonitor.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/EditMonitor.vue b/src/pages/EditMonitor.vue index c9f1069ce..763cc0668 100644 --- a/src/pages/EditMonitor.vue +++ b/src/pages/EditMonitor.vue @@ -2083,8 +2083,9 @@ message HealthCheckResponse { return false; } - // Wildcard is allowed only for DNS - if (!isFQDN(hostname, { + // Root zone "." is valid for DNS but not recognized by isFQDN + const isRootZone = this.monitor.type === "dns" && hostname === "."; + if (!isRootZone && !isFQDN(hostname, { allow_wildcard: this.monitor.type === "dns", require_tld: false, allow_underscores: true,