By gregthehun
Hi there, I was just curious about a little article I came across about an Ad blocking DNS server: https://www.debian-administration.org/article/535/Blocking_ad_servers_with_dnsmasq
What I found great about it is that on a Raspberry Pi locally, I can set it up to point to the Pi instead of having to download resources for ads I don’t care about at all.
I do have ufw setup where it blocks everything except web (for sending requests to ad sites to itself, using nginx), ssh (for obvious reasons), and DNS (for actually serving up the local blank webpage, using dnsmasq).
However, the DNS portion of it is not working. I don’t know exactly if it’s DigitalOcean blocking the request, but I would like to be able to setup either any host on my network to point to the droplet as a DNS server, or my router. However, I can’t seem to get it to work, it just borks my internet connection.
Help?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
How are you attempting to setup your connection / router? More specifically, what have you tried and what has failed? How are you attempting to redirect traffic? etc
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.