Files
rr3-apk/decompiled/sources/com/mbridge/msdk/thrid/okhttp/Dns.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

28 lines
1.0 KiB
Java

package com.mbridge.msdk.thrid.okhttp;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.Arrays;
import java.util.List;
/* loaded from: classes4.dex */
public interface Dns {
public static final Dns SYSTEM = new Dns() { // from class: com.mbridge.msdk.thrid.okhttp.Dns.1
@Override // com.mbridge.msdk.thrid.okhttp.Dns
public List<InetAddress> lookup(String str) throws UnknownHostException {
if (str == null) {
throw new UnknownHostException("hostname == null");
}
try {
return Arrays.asList(InetAddress.getAllByName(str));
} catch (NullPointerException e) {
UnknownHostException unknownHostException = new UnknownHostException("Broken system behaviour for dns lookup of " + str);
unknownHostException.initCause(e);
throw unknownHostException;
}
}
};
List<InetAddress> lookup(String str) throws UnknownHostException;
}