Community discussions

 
hurymak
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 56
Joined: Mon Oct 06, 2014 1:31 pm

Custom response based on blocked DNS, how to do it?

Thu Feb 09, 2017 5:00 pm

Mikrotik rb951G 2hnd.
I set dns to OpenDNS family shield.

When try to go to adult website i see opendns response - that it is blocked.
How to replace this response and display that content is blocked but with custom html, maybe from hotspot directory....dont know..
but not made by OpenDNS company?
 
Sob
Forum Guru
Forum Guru
Posts: 4793
Joined: Mon Apr 20, 2009 9:11 pm

Re: Custom response based on blocked DNS, how to do it?

Thu Feb 09, 2017 5:59 pm

OpenDNS returns different IP addresses for blocked content. They have them documented:

https://support.opendns.com/hc/en-us/ar ... Addresses-

So you can redirect connections to these addresses to your server. It would work with external server for sure, but that might not be very practical if you don't have one. I'm not familiar with hotspot, so I can't tell if it can do it for you.
People who quote full posts should be spanked with ethernet cable. Some exceptions for multi-topic threads may apply.

Who is online

Users browsing this forum: No registered users and 33 guests