How can i block out some domains in my internet gateway

I have a hotspot here at home and i wanted to block out some domains such that if they are detected, a message is sent to the respective user notifying them that the domain is blocked. Do you know of any software or setting that i can use to achieve this goal
