diff --git a/scripts/pi-hole/php/savesettings.php b/scripts/pi-hole/php/savesettings.php
index a684038e..9a0f5d11 100644
--- a/scripts/pi-hole/php/savesettings.php
+++ b/scripts/pi-hole/php/savesettings.php
@@ -558,6 +558,11 @@ function readAdlists()
$error .= "Static release for MAC address (".htmlspecialchars($mac).") already defined!
";
break;
}
+ if($ip !== "noip" && $lease["IP"] === $ip)
+ {
+ $error .= "Static lease for IP address (".htmlspecialchars($ip).") already defined!
";
+ break;
+ }
}
if(!strlen($error))