1
General Discussion / Changing default IP of blocked domains
« on: October 10, 2024, 05:21:37 pm »
I have set up Unbound DNS with several of the provided block-lists.
As I understand it the format of those block lists is
0.0.0.0 some.domain.com
I assume that 0.0.0.0 is standard, it has been the value I have seen in all the examples at least.
If some service is listening on all devices (0.0.0.0) on the local machine, on the requested port, the contents of that is served. It should not be a problem in most cases, but I would like to point all the blocked domains either to a container with that IP or to an IP reserved in DHCP to an invalid MAC. is there a way to do this, besides proxying the blocklists and rewriting all the 0.0.0.0 entries?
As I understand it the format of those block lists is
0.0.0.0 some.domain.com
I assume that 0.0.0.0 is standard, it has been the value I have seen in all the examples at least.
If some service is listening on all devices (0.0.0.0) on the local machine, on the requested port, the contents of that is served. It should not be a problem in most cases, but I would like to point all the blocked domains either to a container with that IP or to an IP reserved in DHCP to an invalid MAC. is there a way to do this, besides proxying the blocklists and rewriting all the 0.0.0.0 entries?