Hi all,
I'm using dnsmasq to create an ad/media blocker. Whenever it receives a
request for any listed domain I want to return a specific IP that points
to a dummy webserver. That part works.
It's the dummy webserver that has me stumped. I'd like it to return 0
bytes, status 200 for every connection to port 80.
nc seems like a good candidate but I can't get it right.
Anybody have a nc one-liner or other alternative that would accomplish this?
Thanks for any ideas,
Mike Wright