From 2c6dcbb7fa58a0df9938acda593532b0873be9f3 Mon Sep 17 00:00:00 2001 From: "Gabriele C." Date: Mon, 2 Mar 2026 00:24:49 +0100 Subject: [PATCH] fix: Fix domain validation not allowing for PTR DNS records (#7048) --- src/pages/EditMonitor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/EditMonitor.vue b/src/pages/EditMonitor.vue index e7387bd4b..3f3cf95f9 100644 --- a/src/pages/EditMonitor.vue +++ b/src/pages/EditMonitor.vue @@ -3709,7 +3709,7 @@ message HealthCheckResponse { ) { let hostname = this.monitor.hostname.trim(); - if (this.monitor.type === "dns" && isIP(hostname)) { + if (this.monitor.type === "dns" && this.monitor.dns_resolve_type !== "PTR" && isIP(hostname)) { toast.error(this.$t("hostnameCannotBeIP")); return false; }