Web Filtering Guides

 

Configuring DNS on a Huawei HG659

Open up a web browser and go to the configuration console of your router. By default, this is http://192.168.1.1/

Sign in with your username and password

Click the Home Network tab at the top of the screen

In the left-hand menu, click LAN Interface

Scroll down and click the DHCP Server tag to display the details

Under the DNS mode setting select the option to Manually configure the DNS server for LAN devices

Set the primary IP address to 195.46.39.39 and the secondary IP address to 195.46.39.40

Click Save

 

Configuring Dynamic DNS on a Huawei HG659

Note: you will need to register with a third party for dynamic DNS support. Currently no-ip is not supported.

Open up a web browser and go to the configuration console of your router. By default, this is http://192.168.1.1/

In the navigation tree, choose Internet > Internet Services > Dynamic DNS (DDNS). In the pane on the right, you can configure the parameters related to the DDNS.

Once your done configuring the parameters, click save.

 

Configuring DNS settings on a Mikrotik

Log in to either the web interface or winbox.

Select IP > DNS

Under DNS servers set the servers in the following order:

  • 195.46.39.39

  • 195.46.39.40

RouterOS DNS.png

Click Apply

If your IP address is static, open https://control.p1six.tech and got to settings > Nets and associate your IP address with a filtering profile.

 

Configuring Dynamic DNS on a Mikrotik

Log in to either the web interface or winbox.

Select IP > Cloud

Check DDNS enable

Click Apply

Sign in to https://control.p1six.tech and go to Settings > Nets

Associate the DNS name showing on the Mikrotik cloud page with a profile and click add

RouterOS DDNS.png
 

Configuring DNS settings for Unifi

Log in to your Unifi Controller and Settings > Networks

In your list of networks, select your WAN network.

Set the DNS servers under common settings

Unifi common settings.png
 

Configuring Dynamic DNS in Unifi

Log in to your Unifi Controller and go to Settings > Services > Dynamic DNS

Select the WAN Interface to apply the settings to

Click Save

Unifi Dynamic DNS.PNG
 

Blocking non P1 Six DNS servers in Unifi

Log in to your Unifi Controller and go to Settings > Routing & Firewall

Select Firewall > WAN OUT

Click Create New Rule

Unifi Allow Action.png
Unifi Create new rule.png

Under Destination

Click Create IPV4 Address group

Set the rule name to Allow DNS to P1 Six

Set the action to accept

Unifi ipv4 group.PNG

Click Create Port Group

Give the group the name DNS and set the port to 53

Unifi Create new group.png

Set the IPv4 address group and destination port group to the newly created groups

Unifi destination.PNG

Click Save

Create a new rule and call it Block outbound DNS

Unifi block outbound dns.png

Set the action to drop

Unifi drop action.png

Under destination, set the Port Group to DNS

Unifi Port Group.png

Click Save

Make sure that the allow rule is before the drop rule

Unifi rules.png