Over the past decade, adult content websites have increased across the internet. Unfortunately, these sites can be complex for parents to monitor due to easy access to children and teens. These sites also host adware, viruses, malware, and other perpetrators, leading to parental stress.
To block porn DNS, the first step to avoid hardware damage and unwanted content. Several types of DNS servers can be used to block such sites. Advanced users can circumvent any web filtering or DNS filtering but doing so often requires technical skills and knowledge.
DNS Filtering
Contents
DNS filtering is usually one of the easiest methods to block adult content online. By blocking access to these sites through a local DNS server, you can eliminate unwanted content from being accessed on your network.
The filtering system is easily implemented on the router level. However, if you are using a wireless network, it can be harder to implement this technology. The DNS server will need to be altered for content filtering to occur.
Site Blocking Instructions for Local DNS Server
To block porn with DNS, follow these instructions. Some DNS servers are located on the router, which is usually located in modem or network settings. If unknown access numbers are unknown to your local DNS server, enter them one-by-one into the “Access Number” field of the DNS server.
Step 1:
Enter the following command in a terminal to view your network name. This will help you identify which DHCP server or router is used on your computer or home network.
Step 2:
Enter the following command to bring up your router settings. Some routers have a different “Local DNS” setting within routing options, while others may use a link to another page.
Step 3:
Enter the following command to find your access number for DNS servers, usually it is 192.168.0.1 or 192.168.1.254. Unless you have altered it with a different IP address on the router settings menu, DHCP server settings are on the screen, or in the terminal during troubleshooting.
Step 4:
Enter the following command to block specific websites, which can be done on a per-website basis by creating “A” records for the site you wish to block. The example below will block adult content from accessing HTML or Flash files while browsing but not using programs like Skype or uTorrent.
Step 5:
Enter the following command to block specific IP addresses for websites, which can be done on a per-website basis by creating “CNAME” records in the DNS server settings menu. You can add other websites to this domain by following the instructions above or replace “adult websites” with your desired website.
Step 6:
Enter the following command in a terminal to save your changes, which are saved automatically on most routers, including Linux boxes.
Step 7:
Reboot or reset your router if prompted after saving or entering new DNS server settings. Your computer will automatically be configured as well if it is using DHCP to download IP addresses automatically. Usually, it can be found in the settings menu for your connection under “Automatic DNS” or performing a search online.
Filtering Instructions for Dynamic DNS Service Providers
You can block content by creating a new access number or blocking specific websites accessed through their IP addresses.To block porn with DNS, perform the following instructions.
Step 1:
Set up a dynamic DNS service for your network using the settings of your preferred dynamic DNS server, which you purchased from an Internet provider.
Step 2:
Enter the following command in a terminal to identify which IP addresses belong to your dynamic DNS service. This will help you track what IP address sites are blocked on a specific server, if necessary.
Step 3:
Enter the following command to see all current site blocks on your dynamic DNS service, which can be found under the DNS settings menu in most routers and operating systems. This step must be skipped if you have not purchased a dynamic DNS service or do not plan to block any websites through this method.
Step 4:
Enter the following command in a terminal to see your dynamic DNS service access number. This will be different from your default gateway and LAN IP address settings for your home network, so you must enter all three numbers if these commands do not show information about blocked content or adult websites. The format for this command entry is below.
Step 5:
Enter the command to see your dynamic DNS service IP address, which is different from your home server LAN IP address. This will be different from your default gateway and DNS service access number settings.
Step 6:
Enter the command to confirm if your dynamic DNS service blocked a website or IP address.
You now have the knowledge required to block specific websites from being accessed through your router or dynamic DNS servers. You can control what content is available, and increase the productivity and security of your network from harmful viruses and malware.