dns spoofing
dnsmasq
Setup dnsmasq
dnsmasq.conf
address=/appserver.com/192.168.178.37
address=/otherserver.com/192.168.178.37
log-queries
Run dnsmasq using docker
docker pull andyshinn/dnsmasq
docker run --name my-dnsmasq --rm -it -p 0.0.0.0:53:53/udp \
-v D:\tmp\proxy\dnsmasq.conf:/etc/dnsmasq.conf andyshinn/dnsmasq.conf andyshinn/dnsmasq
Configure DNS server on Android
Option 1: Settings way
Change DNS configuration from settings apps (but unfortunately some apps like Chrome will ignore our DNS server)
Option 2: DNS over VPN
Using rethinkdns app we can control this:
Change DNS settings to "Other DNS"
Select "Proxy DNS" (DNS 53)
Create a new entry pointing ot your local DNS server host
Launch the VPN
You can check whether DNS spoofing works by going to Google Chrome and visit chrome://net-internals
.
Last updated
Was this helpful?