package 㿎;

import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.Arrays;
import java.util.List;
import ඓ.K.K.K.C1293;

/* renamed from: 㿎.㗗  reason: contains not printable characters */
/* compiled from: Dns */
public interface AbstractC2647 {

    /* renamed from: K  reason: contains not printable characters */
    public static final AbstractC2647 f9006 = new C2648();

    /* renamed from: 㿎.㗗$K  reason: contains not printable characters */
    /* compiled from: Dns */
    public class C2648 implements AbstractC2647 {
        @Override // 㿎.AbstractC2647
        /* renamed from: K  reason: contains not printable characters */
        public List<InetAddress> m6975(String str) throws UnknownHostException {
            if (str != null) {
                try {
                    return Arrays.asList(InetAddress.getAllByName(str));
                } catch (NullPointerException e) {
                    UnknownHostException unknownHostException = new UnknownHostException(C1293.m3412("Broken system behaviour for dns lookup of ", str));
                    unknownHostException.initCause(e);
                    throw unknownHostException;
                }
            } else {
                throw new UnknownHostException("hostname == null");
            }
        }
    }

    /* renamed from: K  reason: contains not printable characters */
    List<InetAddress> m6974(String str) throws UnknownHostException;
}
