# Set Up DNS + HTTP Interception > Redirect all malware DNS queries and serve fake HTTP responses **Tools:** [[tools/fakedns|fakedns]], [[tools/httpd|httpd]], [[tools/inetsim|inetsim]] ## Commands ```bash # Option A: Simple DNS + HTTP fakedns & httpd & # Option B: Full service emulation (HTTP, HTTPS, DNS, FTP, SMTP) inetsim # Verify DNS is working nslookup anything.com # Redirect hardcoded IPs too iptables -t nat -A PREROUTING -i eth0 -j REDIRECT ``` #recipe #fakedns #httpd #inetsim