if (Log.on) Log.log(this, " resolveAndCheckIfFirewalled: resolving " + host);
+ // if all scripts are trustworthy (local FS), continue
+ if (Main.originAddr == null) return;
+
// resolve using DNS
try {
InetAddress addr = InetAddress.getByName(host);