I wanted to change the default DNS so as to use OpenDNS ones. I went to the router (192.168.0.1) and then put the DNS adress of OpenDNS in the WAN connection settings. It works and my computer appears to use them every time it has to search for a domain but when I come back from a long deep sleep (let's say a night for example) then my computer send request to Shaw DNS ( 188.8.131.52, 184.108.40.206) ! The problem here is I do not want any DNS queries sent out to others than OpenDNS therefore all those queries are blocked by my firewall.
I first opened a question here but then realized than the problem wasn't only openvpn but all the system sending queries to shaw which leads to that (as an example) :
rule 20.icefloor.custom.9/0(match): block out on en0: (tos 0x0, ttl 255, id 20775, offset 0, flags [none], proto UDP (17), length 59) 192.168.X.X.XXXX > 220.127.116.11.53: 32591+ A? superuser.com. (31)
I really don't understand because :
- OpenDNS are put in network settings
- OpenDNS are put in the router config
I use OS X 10.9, IP from DHCP.