I'm using dnsmasq on OpenWRT.

Is it possible to map certain hostnames for DNS requests coming from a specific client? The ultimate goal in my case is to map certain hostnames to to block them.

For example, the /etc/hosts file changes the mapping for all requests, but what if you only wanted client X to map a certain hostname?

I'm able to block certain IPs for a client MAC with firewall, but I want to block certain hostnames specifically.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.