diff --git a/core/src/mindustry/net/Dns.java b/core/src/mindustry/net/Dns.java index 5fdd06678c..e7d7935343 100644 --- a/core/src/mindustry/net/Dns.java +++ b/core/src/mindustry/net/Dns.java @@ -16,7 +16,8 @@ public class Dns{ private static final Pattern ipPattern = Pattern.compile("^((0|1\\d?\\d?|2[0-4]?\\d?|25[0-5]?|[3-9]\\d?)\\.){3}(0|1\\d?\\d?|2[0-4]?\\d?|25[0-5]?|[3-9]\\d?)$"); private static final int aRecord = 1, srvRecord = 33; private static IntMap>> cache = new IntMap<>(); - private static Seq defNameservers = Seq.with(new InetSocketAddress("1.1.1.1", 53), new InetSocketAddress("8.8.8.8", 53)); + //TODO remove these + //private static Seq defNameservers = Seq.with(new InetSocketAddress("1.1.1.1", 53), new InetSocketAddress("8.8.8.8", 53)); static void resolve(int type, String domain, Func reader, Cons> result, Cons error){ ObjectMap> map; @@ -41,6 +42,8 @@ public class Dns{ }, error); } + //TODO breaks for ipv6 + //TODO no SRV recrod support static void resolveAddress(String domain, Cons result, Cons error){ if(ipPattern.matcher(domain).matches()){ try{ diff --git a/gradle.properties b/gradle.properties index 893b0f869e..ce4c75a351 100644 --- a/gradle.properties +++ b/gradle.properties @@ -25,4 +25,4 @@ org.gradle.caching=true #used for slow jitpack builds; TODO see if this actually works org.gradle.internal.http.socketTimeout=100000 org.gradle.internal.http.connectionTimeout=100000 -archash=77461f1c82 +archash=eb3b8bdd10