Android VPN service || Able to capture packets but failing to do DNS resolution
Goal
The purpose of this work is to find a way to make a transparent proxy that will log the packets.
Things that are happening -
I can capture the packet log it.
Able to send the packet to dns socket.
Getting the IP of the queried domain.
Thing where I am stuck -
But unable to send the packet to my device through VPN as my pages are failing giving error with dns resolution.
This is my complete code for capturing and logging my packets.
package com.example.vpn
import...