In this post we answer some commonly asked questions about content filtering, such as what is DNS filtering?, how does DNS filtering work?, and why is DNS filtering now an essential part of an organization’s security stack?
What is DNS?
DNS is short for Domain Name System and it solves a simple problem. If you want to visit a website, you need to know the name of that website and must enter it into the address bar of your browser. For example, www.hipaaguide.net.
The problem is while that domain name is easy for humans to recognize, it means nothing to a computer. For a computer to find that domain, an IP address is required. An IP address is a string of digits specific to a particular website that tells your computer where to find it. Domain names are for humans. IP addresses are for computers. DNS converts one to the other and basically serves as a phone book. You look up a name (domain name) and the DNS server tells your computer the number (IP address) to allow that website to be found. That means you do not need to remember a string of digits to access a particular website.
When you type in a domain into your browser or click a link in a search engine or email, a connection will be made to a DNS server, the IP address will be found, and you will be directed to the website. Your DNS server will usually be provided by your internet service provider, but not necessarily.
What is DNS Filtering?
DNS filtering is the term given to blocking access to specific domains or webpages at the DNS lookup stage. DNS filtering is used by internet service providers and many businesses to block access to specific web content. An example would be an internet service provider blocking access to websites known to host child pornography, or other content that is illegal to view in your country. A business may want to block access to other types of content that violate its acceptable internet usage policies, such as adult content, social media networks, and websites known to host malware. DNS filtering therefore protects users and their devices, network owners, and helps ISPs comply with government regulations.
How Does DNS Filtering Work?
Traditionally, content control was achieved using a physical appliance. When a user attempts to visit a website, the appliance will download the content and decide whether the website can be accessed or if it should be blocked. DNS filtering works at the DNS lookup stage, so no content is downloaded. That makes DNS filtering much quicker and safer. Instead of using an ISP domain server, or Google or OpenDNS, your DNS server will be changed to the DNS filtering service provider.
When a request is received, the browser will consult the system host file. This is a text file that contains the IP addresses of domain names. If the IP address is not present, the DNS server will be contacted, and a lookup will be performed. The IP address will be returned and the browser will be directed to the correct IP address.
When DNS filtering is in place, before the user can access the website, certain controls will be applied. The DNS filtering service will check to make sure the IP address is not present on any blacklists. These will be maintained by the service provider or third parties. In the case of the latter, one of the most common is the blacklist maintained by the Internet Watch Foundation, which contains IP addresses associated with child sexual abuse content. The service provider’s blacklists will include IP addresses associated with malware and phishing. Since all website content is categorized by the service provider, user defined content controls are also applied and content is blocked by category or, in some cases, search terms and keywords on the webpage.
If the request violates any user-defined policies or the webpage is blacklisted, the request will be denied, the user will not be connected to the site, the attempt to access the IP address will be logged, and the user will be directed to a block page.
Since there is close to zero latency with DNS filtering, there will be no perceivable delay in connecting to a permitted site or the block page if the request is denied.
Why is DNS Filtering Important for Security?
Cybercriminals are constantly setting up new webpages that host malicious content. These include webpages that that ‘phish’ for information such as login credentials, Social Security numbers, and other sensitive data. Websites are loaded with exploit kits that probe computers for vulnerabilities that can be exploited to download malware and ransomware. Malware downloads can also be triggered by visiting a website even if no vulnerabilities are found.
DNS filters serve as an important security mechanism to block access to malicious websites. DNS filters can be also be configured to block the download of files (or certain file types) from the internet to further protect against malware.
The system is not perfect, as in order for a site to be blocked it must first be categorized and determined to be malicious. There will be a delay between a new webpage being created and it being assessed and categorized. DNS filtering service providers regularly scan websites and webpages to keep their blacklists and categorizations up to date but there may be a short delay as the internet contains around 1.5 billion websites and around 130 trillion webpages and new webpages are constantly being created.
A DNS filter can be bypassed using a VPN or anonymizer service that changes the DNS server, but most DNS filtering solutions can be configured to block these anonymizer sites and VPNs.
So, while it is not possible to block 100% of attempts to visit malicious websites or sites that violate company policies 100% of the time, DNS filtering will block the majority of those attempts and will keep users and businesses protected.
Due to the sheer number of malicious websites now being created, and the fact that businesses are being targeted by cybercriminals, DNS filtering is very important for security and should be part of any business’s security stack.
How Much Does a DNS Filtering Service Cost?
The cost of a DNS filtering service can vary considerably from provider to provider, depending on the range of features included in the package, the add-ons that are required, the length of the contract, and the number of users that need to be protected.
The starting price for a DNS filtering service is around $1 per user, per month, with discounts possible for a multi-year contract. At the upper end of the price spectrum you could expect to pay around $6 or more per user per month for a feature-rich solution. For most small- to medium-sized businesses, schools, and libraries, a DNS filtering service at the lower end of the price spectrum will usually be sufficient and will allow precision content control and block all web-based threats.
In addition to the cost of the licenses for a DNS filtering service, you should be aware that there may be optional extras. For instance, while most businesses would think that support is essential, this is not always included as standard. Also be aware that you may be tied into a contract for a set number of users. If individuals leave the company or you need to downsize, you may still have to continue paying for them until the contract expires.
What are the benefits of DNS filtering other than cybersecurity?
There are many benefits to DNS filtering other than blocking malware. Businesses can improve productivity by blocking access to websites commonly used by employees to kill time. They allow businesses to offer a family-friendly environment and avoid legal issues by blocking illegal web content. Web filters can also be used to control bandwidth use.
Is it difficult to set up DNS filtering for WiFi?
A cloud-based DNS filtering service is easy to set up and maintain. There are no hardware requirements and no software downloads. Simply make a small change to your DNS settings, access your administration panel, and you can apply filtering controls with a few mouse clicks.
Is a DNS filter necessary for HIPAA compliance?
DNS filtering is an important security measure that can prevent malware and ransomware attacks and stop employees from visiting phishing websites. While HIPAA does not state that DNS filters should be used, they are an important Security Rule safeguard that will help to ensure the confidentiality, integrity, and availability of ePHI.
What is best, cloud-based filtering of a web filtering appliance?
Cloud-based web filters and web filtering appliances serve the same purpose, but the former tend to be more cost effective. There is no hardware to maintain, they require no technical skill to implement and set up, they are far more scalable, and cloud-based DNS filters will not affect Internet speeds.
Is it possible to bypass DNS filtering with a VPN?
When you set up a web filter and apply category-based controls, you should check the anonymizer service category. This will prevent the use of services that hide websites from the web filter, such as anonymizer websites, VPNs, and proxies.