How can I setup my own DNS server on digital ocean and configure it to block certain domain traffic.

For example I configure my device to use my new dns I made. Then if I try to access example.com on my device it is blocked and no traffic from that website is sent to my device.

I found maradns but that didnt seem to have blocking. Any help appreciated. Thanks.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

You’re looking for a DNS resolver. pfSense has this capability. See the docs here:

https://www.netgate.com/docs/pfsense/dns/unbound-dns-resolver.html

Cheers

Submit an Answer