Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Cyber Security
  3. Question
Cyber Security

Does Dnsspoof spoof DNS requests with the IP address of the local machine?

Asked by Andrea Bailey Apr 7, 2022 1.3K views 1 answer
Share

About this question

I want to spoof all DNS requests with the IP address of my local machine.


However, running dnsspoof, all clients receive the real IP address and not the fake IP address of my host. I know I can run dns spoof using the -f option. But in this case, I just want to spoof all DNS requests with the same address of my local host.

Any ideas

root@kali:~# dnsspoof -i wlan0

dnsspoof: listening on wlan0 [udp dst port 53 and not src 192.168.1.1]

192.168.1.106.51298 > 192.168.1.1.53:  21993+ A? api-glb-bln.smoot.apple.com

192.168.1.106.60866 > 192.168.1.1.53:  65045+ A? p09-keyvalueservice.fe.apple-dns.net

192.168.1.106.55219 > 192.168.1.1.53:  29989+ A? clients1.google.com

192.168.1.106.60383 > 192.168.1.1.53:  53500+ A? gateway.fe.apple-dns.net

192.168.1.106.58017 > 192.168.1.1.53:  51772+ A? tv2.dk

192.168.1.106.49725 > 192.168.1.1.53:  43764+ A? assets.adobedtm.com

192.168.1.106.49286 > 192.168.1.1.53:  39396+ A? shared.tv2.dk

192.168.1.106.59361 > 192.168.1.1.53:  45196+ A? tv2login.dk

192.168.1.106.59450 > 192.168.1.1.53:  61943+ A? platform.twitter.com

192.168.1.106.51695 > 192.168.1.1.53:  64740+ A? cdn.optimizely.com192.168.1.106.62386 > 192.168.1.1.53:  2942+ A? static.chartbeat.com


Your answer

1 Answer

More Cyber Security discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Cyber Security Blogs

Guides, tips and career advice on Cyber Security from JanBask experts.