More on OpenDNS
Thursday, January 1st, 2009Even if you set all computers and the gateway to use OpenDNS servers, it may be possible for savvy users to change the configuration on their computers, which will bypass the settings on the gateway. In a domain environment, this can be prevented through Group Policy. In a workgroup or home setting where computers are running on Windows XP, most users will be operating with administrative privileges. This makes for poor security, but in many environments users find that running as a limited user in XP is just too limiting and will be running as administrator. There are, however, ways to prevent users (or the kids) from bypassing the OpenDNS settings:
1) More advanced gateways and routers (e.g. Astaro, Untangle, Cisco, and most business-class devices) will allow you to configure an Access Control List (ACL), or a firewall rule that will block all DNS traffic (on UDP port 53). Of course, this will also block traffic to the OpenDNS servers, so this rule must be PRECEDED by one that will ALLOW UDP port 53 traffic to the OpenDNS server IP addresses (208.67.220.220 and 208.67.222.222). Remember: "first hit, not best fit" on firewall rules. Some newer home / SOHO routers also have the ability to set rules based on port numbers.
2) Even if the router does not have a way to set rules based on port numbers, it may allow you to block specific IP addresses. You cannot block the address of every DNS server on the internet, but if you block the addresses of the ISP's DNS servers, this will prevent users from bypassing OpenDNS by choosing to obtain DNS setting automatically in Windows. You might also want to block 4.2.2.1 through 4.2.2.6, since lots of people know these addresses (because they are easy to remember). This does not always work and all it does is raise the bar a bit for those who want to circumvent the rules. Since the user cannot see why the traffic is being blocked, they may give up after a few tries and assume that all DNS traffic to sites other than OpenDNS is being blocked.
3) Finally, you may be able to log the traffic to see who is violating policy (there is a written policy, right?), but this can be a time-consuming proposition.
If this is an important issue in a business setting, you have a strong case for installing a UTM, which will allows much greater control over all web traffic and can positively lock down DNS traffic.
Certainly in business settings, and possibly in homes as well, there should be a WRITTEN policy prohibiting visits to unacceptable web sites, as well as prohibiting tampering with network settings (policies are great, but UTMs provide POLICY ENFORCEMENT).
Another cool feature of OpenDNS is that you can insert a logo or picture and custom text into the page that comes up to show that a sight has been blocked. At my house, it is a picture of me with my arms crossed and the text says: "FORGETABOUTIT"
Bear in mind that if the router or gateway can be accessed physically, the reset button can be pressed to gain access. If you keep your password secret and use a strong one, at least you will know that someone has tampered with the device.
Dennis Houseknecht - July 15, 2008