AccessController.doPrivileged(new PrivilegedAction() { public Object run() { System.setProperty("dns.server", "127.0.0.1"); System.setProperty("dns.search", "localdomain"); return null; } });
    public static Resolver getInstance() {        if (res == null) {            res = new ResolverImpl();        }        return res;    }