It would be helpful for you to tell us exactly what you have tried or at least point us to the post(s) that contain what you tried.
But basically, what you want to do is create specific firewall rules.
The first rule would allow destination traffic only to the OpenDNS DNS server IP address(es), only to destination port 53 TCP/UDP.
The second would deny outbound traffic to any destination IP address for destination port 53 TCP/UDP.
These must be in the sequence shown above.
I made two rules which are below. After I applied the rules, and tried to goto a restricted page it allows me through.
TCP/UDP * * 208.67.222.222 53 (DNS)
TCP/UDP * * * 53 (DNS)