Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Changing default IP of blocked domains
« previous
next »
Print
Pages: [
1
]
Author
Topic: Changing default IP of blocked domains (Read 231 times)
JoSSte
Newbie
Posts: 7
Karma: 1
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?
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: Changing default IP of blocked domains
«
Reply #1 on:
October 10, 2024, 06:16:33 pm »
No need. Since it is a dns lookup, when 0.0.0.0 is returned for the domain, the dns query results in an NXDOMAIN response. At that point the query is finished. No further action is taken by the querying client as it has nowhere to go. The concept of sinkholing.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Changing default IP of blocked domains