I'm trying dnsspoof but it's not working.
The arpspoof is ok :
arpspoof -t 192.168.1.1 192.168.1.116
arpspoof -t 192.168.1.116 192.168.1.1
On victim pc, both router and attacker ip shows MAC address of attacker.
If I do dnsspoof :
dnsspoof -f spoofhosts.txt -i ens33
Then, on victim pc, nslookup is not resolving :
I have to specify the attacker as the dns server :
nslookup example.com 192.168.1.129
Otherwise, it's using the dns server assigned to the victim's interface.
On attacker machine, ip forward is set to on.
echo 1 > /proc/sys/net/ipv4/ip_forward
What I should I do more so that this :
resolves using 192.168.1.129, instead of using the dns of the victim's interface ?