smartdns icon indicating copy to clipboard operation
smartdns copied to clipboard

Host specific black list

Open clustor opened this issue 2 years ago • 5 comments

Is it possible to configure a blacklist based on the host IP address? For example, DNS query for "xyz.com" would return 0.0.0.0 from IP address "X" but all other IPs would return the correct address.

clustor avatar Apr 25 '22 02:04 clustor

not clear what you want. query xyz.com, expect get 0.0.0.0? query xyz.com, expect get cname X?

PikuZheng avatar Apr 25 '22 13:04 PikuZheng

Host with IP address 10.10.10.1 queries xyz.com, gets 0.0.0.0 Host with IP address 10.10.10.2 queries xyz.com, gets 52.8.203.22

clustor avatar Apr 25 '22 15:04 clustor

Like other dns servers, smartdns doesn't care about the downstream origin that initiates dns queries. Maybe you need two dns servers to handle this, or add a firewall to filter data from specific sources.

PikuZheng avatar Apr 27 '22 11:04 PikuZheng

Parental controls?

pymumu avatar Apr 30 '22 00:04 pymumu

I need couple of adblocking sites to be allowed from Android TV for streaming app to work but block from every other device.

clustor avatar Apr 30 '22 03:04 clustor

Try latest code.

https://pymumu.github.io/smartdns/en/config/client-rule/

pymumu avatar Jan 08 '24 14:01 pymumu