I've just built a very cool new gadget. Imagine a Raspberry Pi Zero inside a trim printed case with a USB Type A cable that comes out of the end. (Photos later when I get this finished up.)
It's running in dongle mode where it presents the USB as an ethernet adapter to the computer it's plugged into. And I've got
dnsmasq running so it's a DNS server with pass-through.
- Decide that you never want to see another website ad from
serve-east.acuityplatform.com, for example
- Add an
127.0.0.1 serve-east.acuityplatform.comon this server
- Restart dnsmasq with
sudo service dnsmasq restart
- Plug it in
- Point your workstation's DNS to this server as your primary DNS
- Try to access the indicated
serve-east.acuityplatform.comwebsite, it's a 404 (which is good)
- That's one down, many to go in the war against advertisements
It does require a USB cable that you're going to cannibalize for this project. And it requires some soldering skills on very tiny pads on the Raspberry Pi Zero. I'll ultimately glue the case together once I've made some project photos. And it could use a nice label for the outside, methinks.