We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 111e981 commit 2c6dcbbCopy full SHA for 2c6dcbb
src/pages/EditMonitor.vue
@@ -3709,7 +3709,7 @@ message HealthCheckResponse {
3709
) {
3710
let hostname = this.monitor.hostname.trim();
3711
3712
- if (this.monitor.type === "dns" && isIP(hostname)) {
+ if (this.monitor.type === "dns" && this.monitor.dns_resolve_type !== "PTR" && isIP(hostname)) {
3713
toast.error(this.$t("hostnameCannotBeIP"));
3714
return false;
3715
}
0 commit comments