diff --git a/src/main/java/org/java_websocket/DnsResolver.java b/src/main/java/org/java_websocket/DnsResolver.java
deleted file mode 100644
index 59f3be3c..00000000
--- a/src/main/java/org/java_websocket/DnsResolver.java
+++ /dev/null
@@ -1,30 +0,0 @@
-package org.java_websocket;
-
-import java.net.InetAddress;
-import java.net.URI;
-import java.net.UnknownHostException;
-
-/**
- * Users may implement this interface to override the default DNS lookup offered
- * by the OS.
- *
- * @since 1.4.1
- */
-public interface DnsResolver {
-
- /**
- * Resolves the IP address for the given URI.
- *
- * This method should never return null. If it's not able to resolve the IP
- * address then it should throw an UnknownHostException
- *
- * @param uri The URI to be resolved
- *
- * @return The resolved IP address
- *
- * @throws UnknownHostException if no IP address for the uri
- * could be found.
- */
- InetAddress resolve(URI uri) throws UnknownHostException;
-
-}
diff --git a/src/main/java/org/java_websocket/client/DnsResolver.java b/src/main/java/org/java_websocket/client/DnsResolver.java
new file mode 100644
index 00000000..94436fa5
--- /dev/null
+++ b/src/main/java/org/java_websocket/client/DnsResolver.java
@@ -0,0 +1,29 @@
+package org.java_websocket.client;
+
+import java.net.InetAddress;
+import java.net.URI;
+import java.net.UnknownHostException;
+
+/**
+ * Users may implement this interface to override the default DNS lookup offered
+ * by the OS.
+ *
+ * @since 1.4.1
+ */
+public interface DnsResolver {
+
+ /**
+ * Resolves the IP address for the given URI.
+ *
+ * This method should never return null. If it's not able to resolve the IP
+ * address then it should throw an UnknownHostException
+ *
+ * @param uri The URI to be resolved
+ *
+ * @return The resolved IP address
+ *
+ * @throws UnknownHostException if no IP address for the uri
could be found.
+ */
+ InetAddress resolve(URI uri) throws UnknownHostException;
+
+}
diff --git a/src/main/java/org/java_websocket/client/WebSocketClient.java b/src/main/java/org/java_websocket/client/WebSocketClient.java
index 9b9d4b50..f5cd9b12 100644
--- a/src/main/java/org/java_websocket/client/WebSocketClient.java
+++ b/src/main/java/org/java_websocket/client/WebSocketClient.java
@@ -48,7 +48,6 @@
import javax.net.ssl.SSLSocketFactory;
import org.java_websocket.AbstractWebSocket;
-import org.java_websocket.DnsResolver;
import org.java_websocket.WebSocket;
import org.java_websocket.WebSocketImpl;
import org.java_websocket.drafts.Draft;