diff --git a/app/src/main/jni/netguard/ip.c b/app/src/main/jni/netguard/ip.c index 40ef55fc..e34e5792 100644 --- a/app/src/main/jni/netguard/ip.c +++ b/app/src/main/jni/netguard/ip.c @@ -293,7 +293,7 @@ void handle_ip(const struct arguments *args, struct allowed *redirect = NULL; if (protocol == IPPROTO_UDP && has_udp_session(args, pkt, payload)) allowed = 1; // could be a lingering/blocked session - else if (protocol == IPPROTO_TCP && !syn) + else if (protocol == IPPROTO_TCP && (!syn || dport != 53)) allowed = 1; // assume existing session else { jobject objPacket = create_packet(