Firewall bypass script based on DNS history records