diff --git a/PluralKit.Core/Dispatch/DispatchModels.cs b/PluralKit.Core/Dispatch/DispatchModels.cs
index 60190f13..543457d8 100644
--- a/PluralKit.Core/Dispatch/DispatchModels.cs
+++ b/PluralKit.Core/Dispatch/DispatchModels.cs
@@ -76,13 +76,15 @@ namespace PluralKit.Core
             return o;
         }
 
-        public static async Task<bool> ValidateUri(string uri)
+        public static async Task<bool> ValidateUri(string url)
         {
+            var uri = new Uri(url);
+
             IPHostEntry host = null;
 
             try
             {
-                host = await Dns.GetHostEntryAsync(uri);
+                host = await Dns.GetHostEntryAsync(uri.DnsSafeHost);
             }
             catch (Exception) { }