Exists some way to block all DNS queries on NextDNS?
I mean, I need to block whole internet access to my child.
I know that I could do this with other solutions, but I want to know if this is possible with NextDNS.
4 replies
-
NextDNS is the wrong tool for that, but you could try blocking all TLDs. It would be simpler to block access at the router/firewall with a simple rule
-
You can add all allowed devices's mac addresses to whitelist in your router and block internet for any other devices. I think all router nowadays support this feature. It's more effectice since dns and mac is easily tempered these days.
-
I've implemented this sort of blocking solution for the same purposes. You need to use the API to block then remove the blocks for the common top level domains. I block .com, .net and .org which seems to cover 99.99% of DNS requests. So for example, you'd block the .com TLD with this: curl -X POST -H "Content-Type: application/json" -H "X-Api-Key: [YOUR API KEY]" --data '{"id": "com"}' "https://api.nextdns.io/profiles/[your profile]/security/tlds" and then unblock with curl -X "DELETE" -H "Content-Type: application/json" -H "X-Api-Key: [YOUR API KEY]" "https://api.nextdns.io/profiles/[your profile]/security/tlds/com"
You'll also need some method to schedule the block/unblock. Hope this helps.
Content aside
- 1 yr agoLast active
- 4Replies
- 421Views
-
5
Following