# DSL/Wi-Fi routers



# Router Setup

#### **Router with Static IP address configuration**

<figure class="kg-card kg-embed-card" id="bkmrk--2"><div class="fluid-width-video-container"><div class="fluid-width-video-wrapper align-center"><iframe allowfullscreen="allowfullscreen" data-mce-fragment="1" height="314" src="https://www.youtube.com/embed/zzLLldNPnyU" width="560"></iframe>

</div></div></figure>1\. Go to SafeDNS **Dashboard &gt; Settings &gt; Devices** and copy your IP address to the "**IP addresses / DynDNS**" box, choose a policy, and click "**Add**".[![1.Router.png](https://docs.safedns.com/uploads/images/gallery/2024-08/scaled-1680-/63jg66gCUKfurHLu-1-router.png)](https://docs.safedns.com/uploads/images/gallery/2024-08/63jg66gCUKfurHLu-1-router.png)

2\. Change your router’s DNS servers to SafeDNS addresses - **195.46.39.39** and **195.46.39.40**

[![1.Router Setup Guide (IPv4).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/WzcYdnWVM9FMQWfR-1-router-setup-guide-ipv4.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/WzcYdnWVM9FMQWfR-1-router-setup-guide-ipv4.png)

**You have successfully configured your router.**

<p class="callout warning">Please note that settings take 5-7 minutes to apply.  
Stats and filtering status update every 10 minutes.  
</p>

---

#### **Router with Dynamic IP address configuration**

<figure class="kg-card kg-embed-card" id="bkmrk--5"><div class="fluid-width-video-container"><div class="fluid-width-video-wrapper align-center"><iframe allowfullscreen="allowfullscreen" data-mce-fragment="1" height="314" src="https://www.youtube.com/embed/XuY-UjPULXw" width="560"></iframe>

</div></div></figure>In case you have a Dynamic IP address, you need to configure the DynDNS/DDNS on the router using a Dynamic DNS service.

<p class="callout info">Most modern routers provide their own DynDNS services. We recommend using them.</p>

Here's an example of the DynDNS menu on the TP-Link router with the TP-Link service provider:

[![Screenshot_82.png](https://docs.safedns.com/uploads/images/gallery/2024-01/scaled-1680-/EdVGAlbXabmnREXy-screenshot-82.png)](https://docs.safedns.com/uploads/images/gallery/2024-01/EdVGAlbXabmnREXy-screenshot-82.png)

You only need to create a DynDNS record in the router interface. Then skip to Step 6 below.

---

If your router does not have its own DynDNS service provider, we recommend using third-party NO-IP DynDNS.

1\. In the router setting, go to DynDNS/DDNS settings,

[![3.Router Setup Guide (IPv4).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/doLiCDLSJKzRoFIe-3-router-setup-guide-ipv4.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/doLiCDLSJKzRoFIe-3-router-setup-guide-ipv4.png)

2\. Check the DynDNS service available for your router. If available, we recommend using the No IP DynDNS service provider.

3\. Go to the website noip.com and sign up.

[![4.Router Setup Guide (IPv4).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/bceoEIpcnfn4hTTJ-4-router-setup-guide-ipv4.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/bceoEIpcnfn4hTTJ-4-router-setup-guide-ipv4.png)

4\. In your No-IP account, create a hostname (any name you can think of).

[![5.Router Setup Guide (IPv4).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/iM2lBtwjCMovYUlh-5-router-setup-guide-ipv4.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/iM2lBtwjCMovYUlh-5-router-setup-guide-ipv4.png)[![6.Router Setup Guide (IPv4).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/9NhUPXUJ6J7Yb6PE-6-router-setup-guide-ipv4.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/9NhUPXUJ6J7Yb6PE-6-router-setup-guide-ipv4.png)

[![7.Router Setup Guide (IPv4).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/jXwQLcgVhGd8Kuj6-7-router-setup-guide-ipv4.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/jXwQLcgVhGd8Kuj6-7-router-setup-guide-ipv4.png)

5\. Go back to your router and configure DDNS/DynDNS.

- Select No-IP as "**Service provider**".
- Type in the created hostname in the "**Hostname**" field.
- Type in your No-IP account credentials as "Username" and "Password", and click "Save".  
      
    [![8.Router Setup Guide (IPv4).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/DL3RnBN6JAKMoytg-8-router-setup-guide-ipv4.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/DL3RnBN6JAKMoytg-8-router-setup-guide-ipv4.png)

If everything is correct, DynDNS/DDNS settings will apply.

[![9Router Setup Guide (IPv4).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/PlNezRO5TgDXeXt6-9router-setup-guide-ipv4.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/PlNezRO5TgDXeXt6-9router-setup-guide-ipv4.png)

6\. Go to SafeDNS **Dashboard &gt; Settings &gt; Devices** and copy your DynDNS hostname to the "**IP addresses / DynDNS**" box, choose a policy, and click "**Add**".[![2.Router.png](https://docs.safedns.com/uploads/images/gallery/2024-08/scaled-1680-/ocIhgqOq9TJOtTIb-2-router.png)](https://docs.safedns.com/uploads/images/gallery/2024-08/ocIhgqOq9TJOtTIb-2-router.png)

Once added, you will see it in the DynDNS section of the Dashboard.

[![3.Router.png](https://docs.safedns.com/uploads/images/gallery/2024-08/scaled-1680-/UQD1MnUfNq6MOHPq-3-router.png)](https://docs.safedns.com/uploads/images/gallery/2024-08/UQD1MnUfNq6MOHPq-3-router.png)

7\. Change your router’s DNS servers to SafeDNS addresses - **195.46.39.39** and **195.46.39.40**

[![1.Router Setup Guide (IPv4).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/WzcYdnWVM9FMQWfR-1-router-setup-guide-ipv4.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/WzcYdnWVM9FMQWfR-1-router-setup-guide-ipv4.png)

**You have successfully configured your router.**

<p class="callout warning">Please note that settings take 5-7 minutes to apply.  
Stats and filtering status update every 10 minutes.  
</p>

---

#### **Configuring the filter using the DDclient.**

In rare cases when your router does not have a DynDNS/DDNS setting and your IP is Dynamic, you need to use third-party software - **DDclient** - on the PC connected to the network:

1\. [Install DDclient](https://docs.safedns.com/books/installation-guides/page/dd-client-setup) on a PC connected to the network. Once DDclient is installed, all devices connected to the same network will be filtered by the same rules.

2\. Set up DNS servers in your router:

[![12.Router Setup Guide (IPv4).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/dRpxBDredsMg3qy6-12-router-setup-guide-ipv4.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/dRpxBDredsMg3qy6-12-router-setup-guide-ipv4.png)

<div class="pointer-container" id="bkmrk-%C2%A0-0"><div class="pointer anim is-page-editable"><svg class="svg-icon" data-icon="link" role="presentation" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"></svg><div class="input-group inline block"> <button class="button outline icon" data-clipboard-target="#pointer-url" title="Copy Link" type="button"><svg class="svg-icon" data-icon="copy" role="presentation" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"></svg></button></div><svg class="svg-icon" data-icon="edit" role="presentation" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"></svg></div></div>

# Router Setup (IPv6)

#### **Router with static IP address configuration**

Go to SafeDNS **Dashboard &gt; Settings** **&gt; Devices** and copy your IP address to the "**IP addresses / DynDNS**" box, choose a policy, and click "**Add**".

We recommend adding the whole IPv6 router subnet - first 4 segments with /64 at the end. Example: **2600:1005:b062:61e4::/64** instead of **2600:1005:b062:61e4:1111:2222:3333:4444**.

[![1.Router_ipv6.png](https://docs.safedns.com/uploads/images/gallery/2024-08/scaled-1680-/UQ62iJ0w44xfdeG7-1-router-ipv6.png)](https://docs.safedns.com/uploads/images/gallery/2024-08/UQ62iJ0w44xfdeG7-1-router-ipv6.png)

2\. Change your router’s DNS servers to SafeDNS addresses - **2001:67c:2778::3939** and **2001:67c:2778::3940**

Open the router’s settings page, click the "**Advanced**" tab, and choose **IPv6** in the left menu. Choose "**IPv6 setup**" and type in SafeDNS IPv6 addresses.

[![1.Router Setup Guide (IPv6).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/HQifvHPddzHEyuFc-1-router-setup-guide-ipv6.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/HQifvHPddzHEyuFc-1-router-setup-guide-ipv6.png)

**You have successfully configured your router.**

<p class="callout warning">Please note that settings take 5-7 minutes to apply.  
Stats and filtering status update every 10 minutes.  
</p>

---

#### **Router with Dynamic IP address configuration**

In case you have a Dynamic IP address, you need to configure the DynDNS/DDNS on the router using a Dynamic DNS service.

<p class="callout info">Most modern routers provide their own DynDNS services. We recommend using them.</p>

Here's an example of the DynDNS menu on the TP-Link router with the TP-Link service provider:

[![Screenshot_82.png](https://docs.safedns.com/uploads/images/gallery/2024-01/scaled-1680-/EdVGAlbXabmnREXy-screenshot-82.png)](https://docs.safedns.com/uploads/images/gallery/2024-01/EdVGAlbXabmnREXy-screenshot-82.png)

You only need to create a DynDNS record in the router interface. Then skip to Step 6 below.

---

If your router does not have its own DynDNS service provider, we recommend using third-party NO-IP DynDNS.

1\. In the router setting, go to **DynDNS/DDNS settings**.

[![3.Router Setup Guide (IPv6).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/1N7Ed0VzgjDr64OZ-3-router-setup-guide-ipv6.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/1N7Ed0VzgjDr64OZ-3-router-setup-guide-ipv6.png)

2\. Check the DynDNS service available for your router. If available, we recommend using the **No-IP** DynDNS service provider.

[![4.Router Setup Guide (IPv6).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/72WCrW5SPEp4UfSA-4-router-setup-guide-ipv6.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/72WCrW5SPEp4UfSA-4-router-setup-guide-ipv6.png)

3\. Go to the website [noip.com](http://noip.com/) and sign up.

[![5.Router Setup Guide (IPv6).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/p0pWYQHApgB0iDF1-5-router-setup-guide-ipv6.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/p0pWYQHApgB0iDF1-5-router-setup-guide-ipv6.png)

4\. In your No-IP account, create a hostname (any name you can think of).

[![6.Router Setup Guide (IPv6).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/eUu5BvJPRWjUf8WB-6-router-setup-guide-ipv6.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/eUu5BvJPRWjUf8WB-6-router-setup-guide-ipv6.png)

5\. Choose the IPv6 type and create the hostname. Make sure that the "**IPv6 Address**" field is containing your IPv6 address:[![7.Router Setup Guide (IPv6).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/QPu7swJzdTz6sA82-7-router-setup-guide-ipv6.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/QPu7swJzdTz6sA82-7-router-setup-guide-ipv6.png)

<figure class="kg-card kg-image-card kg-width-wide" id="bkmrk--10">![](https://blog.safedns.com/content/images/2022/01/r8.png)</figure>6\. Go back to your router and configure DDNS/DynDNS

- Select No-IP as "**Service provider**".
- Type in the created hostname in the "**Hostname**" field.
- Type in your No-IP account credentials as "Username" and "Password", and click "Save".
- [![9.Router Setup Guide (IPv6).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/GUf0ktdzsmRv2Lvo-9-router-setup-guide-ipv6.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/GUf0ktdzsmRv2Lvo-9-router-setup-guide-ipv6.png)

7\. Go to SafeDNS **Dashboard -&gt; Settings** **-&gt; Devices** and copy your DynDNS hostname to the "**IP addresses / DynDNS**" box, choose a policy, and click "**Add**".

[![10.Router Setup Guide (IPv6).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/tgTvmgpvgRM1m1rc-10-router-setup-guide-ipv6.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/tgTvmgpvgRM1m1rc-10-router-setup-guide-ipv6.png)

Once added, you will see it in the DynDNS section of the Dashboard.

[![2.Router_ipv6.png](https://docs.safedns.com/uploads/images/gallery/2024-08/scaled-1680-/cz20YFZxEVvXDOTk-2-router-ipv6.png)](https://docs.safedns.com/uploads/images/gallery/2024-08/cz20YFZxEVvXDOTk-2-router-ipv6.png)

8\. Change your router’s DNS servers to SafeDNS addresses - **2001:67c:2778::3939** and **2001:67c:2778::3940**

Open the router’s settings page, click the "**Advanced**" tab, and choose **IPv6** in the left menu. Choose "**IPv6 setup**" and type in SafeDNS IPv6 addresses.

[![1.Router Setup Guide (IPv6).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/HQifvHPddzHEyuFc-1-router-setup-guide-ipv6.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/HQifvHPddzHEyuFc-1-router-setup-guide-ipv6.png)

**You have successfully configured your router.**

<p class="callout warning">Please note that settings take 5-7 minutes to apply.  
Stats and filtering status update every 10 minutes.  
</p>

---

#### Configuring the filter using the DDclient

In rare cases when your router does not have a DynDNS/DDNS setting and your IP is Dynamic, you need to use third-party software - **DDclient** - on the PC connected to the network:

1\. [Install DDclient](https://docs.safedns.com/books/installation-guides/page/dd-client-setup) on a PC connected to the network. Once DDclient is installed, all devices connected to the same network will be filtered by the same rules.

2\. Set up DNS servers in your router:

[![12.Router Setup Guide (IPv6).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/Rw6iNdGjekBpD4EG-12-router-setup-guide-ipv6.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/Rw6iNdGjekBpD4EG-12-router-setup-guide-ipv6.png)

# Keenetic Router Setup

SafeDNS service in Keenetic routers is implemented as an operating system component. You can add or remove this Internet Safety service from the system and turn it on or off completely, without affecting the parameters of the main Internet connection: SafeDNS will work behind any NAT and with a dynamic IP address.

<p class="callout warning">It is not possible to run SafeDNS, [Cloudflare DNS](https://help.keenetic.com/hc/en-us/articles/360014264779), and [AdGuard DNS](https://help.keenetic.com/hc/en-us/articles/360000582119) services at the same time. Only one of them can be used.</p>

<p class="callout warning">Before setting up the Internet safety service, register your home network devices according to the instruction [Connected devices registration](https://help.keenetic.com/hc/en-us/articles/360000394159).</p>

#### Setup

1\. Select "SafeDNS" in the 'Service' field on the "Internet safety" page.

[![1.Keenetic Router Setup Guide.png](https://docs.safedns.com/uploads/images/gallery/2022-09/scaled-1680-/Lx2OrS3Tvtw4cEU8-1-keenetic-router-setup-guide.png)](https://docs.safedns.com/uploads/images/gallery/2022-09/Lx2OrS3Tvtw4cEU8-1-keenetic-router-setup-guide.png)

2\. Enter your SafeDNS account's parameters by clicking "Log in" in the "SafeDNS account" section. If you do not have a SafeDNS account yet, click "Create account".

[![2.Keenetic Router Setup Guide.png](https://docs.safedns.com/uploads/images/gallery/2022-09/scaled-1680-/cnsAY3XDcfV6P0K4-2-keenetic-router-setup-guide.png)](https://docs.safedns.com/uploads/images/gallery/2022-09/cnsAY3XDcfV6P0K4-2-keenetic-router-setup-guide.png)

3\. Enter your SafeDNS account e-mail/login and password.

[![3.Keenetic Router Setup Guide.png](https://docs.safedns.com/uploads/images/gallery/2022-09/scaled-1680-/UDjvWoq6FyrDaJgb-3-keenetic-router-setup-guide.png)](https://docs.safedns.com/uploads/images/gallery/2022-09/UDjvWoq6FyrDaJgb-3-keenetic-router-setup-guide.png)

4\. Assign filtering policies in the "Assignment of protection policies to devices" section.

You can assign filtering policies to permanent home network devices (registered in Keenetic) and the default policy for all unregistered devices.

[![4.Keenetic Router Setup Guide.png](https://docs.safedns.com/uploads/images/gallery/2022-09/scaled-1680-/ad7KyQSsi0MMRXXj-4-keenetic-router-setup-guide.png)](https://docs.safedns.com/uploads/images/gallery/2022-09/ad7KyQSsi0MMRXXj-4-keenetic-router-setup-guide.png)

Your devices connected to the Keenetic router are now filtered with the assigned SafeDNS filtering policies.

<p class="callout warning">Please note that settings take 5-7 minutes to apply.  
Stats and filtering status update every 10 minutes.  
</p>

# Asus and Asuswrt-Merlin Router Setup

#### **Router with Static IP address configuration**

1\. Go to SafeDNS **Dashboard &gt; Settings &gt; Devices** and copy your IP address to the "**IP addresses / DynDNS**" box, choose a policy, and click "**Add**".

[![1.Asus and Asuswrt.png](https://docs.safedns.com/uploads/images/gallery/2024-08/scaled-1680-/9b59doClFACpRuqQ-1-asus-and-asuswrt.png)](https://docs.safedns.com/uploads/images/gallery/2024-08/9b59doClFACpRuqQ-1-asus-and-asuswrt.png)

2\. Open a browser and type in the Default Gateway address into your browser's URL address bar. By default, it is 192.168.1.1

[![Screenshot_111.png](https://docs.safedns.com/uploads/images/gallery/2024-04/scaled-1680-/4FyTs1nCaBXEJWZJ-screenshot-111.png)](https://docs.safedns.com/uploads/images/gallery/2024-04/4FyTs1nCaBXEJWZJ-screenshot-111.png)

<p class="callout warning">Your router might have a different Default Gateway IP address. Check the backside of your router to find the Default Gateway IP address of your particular router.</p>

3\. Once you log in, click on the WAN tab in the Advanced Settings section.

[![Screenshot_112.png](https://docs.safedns.com/uploads/images/gallery/2024-04/scaled-1680-/4DQ0yaZixbi5NC1o-screenshot-112.png)](https://docs.safedns.com/uploads/images/gallery/2024-04/4DQ0yaZixbi5NC1o-screenshot-112.png)

4\. You will find the WAN DNS Settings tab there. Press on the NO option next to Connect to DNS server automatically.

[![Screenshot_113.png](https://docs.safedns.com/uploads/images/gallery/2024-04/scaled-1680-/L5UgE8uzEcqlOTML-screenshot-113.png)](https://docs.safedns.com/uploads/images/gallery/2024-04/L5UgE8uzEcqlOTML-screenshot-113.png)

5\. In the DNS Server1 and DNS Server2 tabs, enter the following DNS addresses:

- 195.46.39.39
- 195.46.39.40

6\. To save the changes, press Apply and restart your router.

[![Screenshot_114.png](https://docs.safedns.com/uploads/images/gallery/2024-04/scaled-1680-/PjtGJCkMobt2kGYN-screenshot-114.png)](https://docs.safedns.com/uploads/images/gallery/2024-04/PjtGJCkMobt2kGYN-screenshot-114.png)

<p class="callout info">In the Asus router, it's possible to force DNS traffic through port 53. These are the steps:  
 1. Click on WAN and go to Port trigger.  
 2. Enable the Port trigger.  
 3. In the section trigger port list enter:  
 name: SafeDNS  
 trigger port: 53  
 protocol: TCP  
 incoming port: 53  
 protocol: UDP  
 4. Click Add and Apply.  
By blocking port 53, all devices connected to the router will be forced to use the SafeDNS servers.</p>

**You have successfully configured your router.**

<p class="callout warning">Please note that settings take 5-7 minutes to apply.  
Stats and filtering status update every 10 minutes.  
</p>

---

#### **Router with Dynamic IP address configuration**

In case you have a Dynamic IP address, you need to configure the DynDNS/DDNS on the router using a Dynamic DNS service.

<div class="pointer-container" id="bkmrk-%C2%A0"><div class="pointer anim is-page-editable"><svg class="svg-icon" data-icon="link" role="presentation" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"></svg><div class="input-group inline block"> <button class="button outline icon" data-clipboard-target="#pointer-url" title="Copy Link" type="button"><svg class="svg-icon" data-icon="copy" role="presentation" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"></svg></button></div><svg class="svg-icon" data-icon="edit" role="presentation" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"></svg></div></div><p class="callout info">Most modern routers provide their own DynDNS services. We recommend using them.</p>

If your router does not have its own DynDNS service provider, we recommend using third-party NO-IP DynDNS.

1\. Check the DynDNS service available for your router. If available, we recommend using the No IP DynDNS service provider.

2\. Go to the website noip.com and sign up.

[![4.Router Setup Guide (IPv4).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/bceoEIpcnfn4hTTJ-4-router-setup-guide-ipv4.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/bceoEIpcnfn4hTTJ-4-router-setup-guide-ipv4.png)

3\. In your No-IP account, create a hostname (any name you can think of).

[![5.Router Setup Guide (IPv4).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/iM2lBtwjCMovYUlh-5-router-setup-guide-ipv4.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/iM2lBtwjCMovYUlh-5-router-setup-guide-ipv4.png)[![6.Router Setup Guide (IPv4).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/9NhUPXUJ6J7Yb6PE-6-router-setup-guide-ipv4.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/9NhUPXUJ6J7Yb6PE-6-router-setup-guide-ipv4.png)

[![7.Router Setup Guide (IPv4).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/jXwQLcgVhGd8Kuj6-7-router-setup-guide-ipv4.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/jXwQLcgVhGd8Kuj6-7-router-setup-guide-ipv4.png)

4\. Go back to your router and configure DDNS/DynDNS.

- Select No-IP as "**Server**".
- Type in the created hostname in the "**Host Name**" field.
- Type in your No-IP account credentials as "Username" and "Password", and click "Save".
- Set "**Enablewildcard**" to NO.  
      
    [![Screenshot_115.png](https://docs.safedns.com/uploads/images/gallery/2024-04/scaled-1680-/qOY9bsCXTUwc47eQ-screenshot-115.png)](https://docs.safedns.com/uploads/images/gallery/2024-04/qOY9bsCXTUwc47eQ-screenshot-115.png)

If everything is correct, DynDNS/DDNS settings will apply.

5\. Go to SafeDNS **Dashboard &gt; Settings &gt; Devices** and copy your DynDNS hostname to the "**IP addresses / DynDNS**" box, choose a policy, and click "**Add**".

[![2.Asus and Asuswrt.png](https://docs.safedns.com/uploads/images/gallery/2024-08/scaled-1680-/SlHLst3qUfdzlbUD-2-asus-and-asuswrt.png)](https://docs.safedns.com/uploads/images/gallery/2024-08/SlHLst3qUfdzlbUD-2-asus-and-asuswrt.png)

Once added, you will see it in the DynDNS section of the Dashboard.

[![3.Asus and Asuswrt.png](https://docs.safedns.com/uploads/images/gallery/2024-08/scaled-1680-/5ziWAaoFiu47dYJm-3-asus-and-asuswrt.png)](https://docs.safedns.com/uploads/images/gallery/2024-08/5ziWAaoFiu47dYJm-3-asus-and-asuswrt.png)

6\. Open a browser and type in the Default Gateway address into your browser's URL address bar. By default, it is 192.168.1.1

[![Screenshot_111.png](https://docs.safedns.com/uploads/images/gallery/2024-04/scaled-1680-/4FyTs1nCaBXEJWZJ-screenshot-111.png)](https://docs.safedns.com/uploads/images/gallery/2024-04/4FyTs1nCaBXEJWZJ-screenshot-111.png)

<p class="callout warning">Your router might have a different Default Gateway IP address. Check the backside of your router to find the Default Gateway IP address of your particular router.</p>

7\. Once you log in, click on the WAN tab in the Advanced Settings section.

[![Screenshot_112.png](https://docs.safedns.com/uploads/images/gallery/2024-04/scaled-1680-/4DQ0yaZixbi5NC1o-screenshot-112.png)](https://docs.safedns.com/uploads/images/gallery/2024-04/4DQ0yaZixbi5NC1o-screenshot-112.png)

8\. You will find the WAN DNS Settings tab there. Press on the NO option next to Connect to DNS server automatically.

[![Screenshot_113.png](https://docs.safedns.com/uploads/images/gallery/2024-04/scaled-1680-/L5UgE8uzEcqlOTML-screenshot-113.png)](https://docs.safedns.com/uploads/images/gallery/2024-04/L5UgE8uzEcqlOTML-screenshot-113.png)

9\. In the DNS Server1 and DNS Server2 tabs, enter the following DNS addresses:

- 195.46.39.39
- 195.46.39.40

10\. To save the changes, press Apply and restart your router.

[![Screenshot_114.png](https://docs.safedns.com/uploads/images/gallery/2024-04/scaled-1680-/PjtGJCkMobt2kGYN-screenshot-114.png)](https://docs.safedns.com/uploads/images/gallery/2024-04/PjtGJCkMobt2kGYN-screenshot-114.png)

<p class="callout info">In the Asus router, it's possible to force DNS traffic through port 53. These are the steps:  
 1. Click on WAN and go to Port trigger.  
 2. Enable the Port trigger.  
 3. In the section trigger port list enter:  
 name: SafeDNS  
 trigger port: 53  
 protocol: TCP  
 incoming port: 53  
 protocol: UDP  
 4. Click Add and Apply.  
By blocking port 53, all devices connected to the router will be forced to use the SafeDNS servers.</p>

**You have successfully configured your router.**

<div class="pointer-container" id="bkmrk-%C2%A0-1"><div class="pointer anim is-page-editable"><svg class="svg-icon" data-icon="link" role="presentation" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"></svg><div class="input-group inline block"> <button class="button outline icon" data-clipboard-target="#pointer-url" title="Copy Link" type="button"><svg class="svg-icon" data-icon="copy" role="presentation" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"></svg></button></div><svg class="svg-icon" data-icon="edit" role="presentation" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"></svg></div></div><p class="callout warning">Please note that settings take 5-7 minutes to apply.  
Stats and filtering status update every 10 minutes.</p>

---

#### **Asuswrt-Merlin DNS Director**

<p class="callout warning">This part of the article contains information for Asus routers with custom firmware Asuswrt-Merlin.  
</p>

Asuswrt-Merlin is a third-party alternative firmware for Asus routers ([official page](https://www.asuswrt-merlin.net/)).  
List of the supported devices - [here](https://github.com/RMerl/asuswrt-merlin.ng/wiki/Supported-Devices).

DNS Director is a feature that allows you to force specific devices on your network to use specific DNS. This can be done globally, or on a per-device basis. Each of them can have a different nameserver enforced.

For example, you can have your LAN use a custom DNS server, but force your children's devices to use SafeDNS filtering.  
Safe Family and Business plans users can group devices in up to 6 groups and filter them with different policies using the [NAT DNS feature](https://docs.safedns.com/books/installation-guides/page/nat-dns-setup).

The configuration can be found in the DNS Director tab, located in the LAN section:

[![Screenshot_116 copy.png](https://docs.safedns.com/uploads/images/gallery/2024-04/scaled-1680-/ONyKznM2pVrxR9Fs-screenshot-116-copy.png)](https://docs.safedns.com/uploads/images/gallery/2024-04/ONyKznM2pVrxR9Fs-screenshot-116-copy.png)

---

#### **Configuring the filter using the DDclient**

In rare cases when your router does not have a DynDNS/DDNS setting and your IP is Dynamic, you need to use third-party software - **DDclient** - on the PC connected to the network:

1\. [Install DDclient](https://docs.safedns.com/books/installation-guides/page/dd-client-setup) on a PC connected to the network. Once DDclient is installed, all devices connected to the same network will be filtered by the same rules.

2\. Set up DNS servers in your router:

![Screenshot_113.png](https://docs.safedns.com/uploads/images/gallery/2024-04/scaled-1680-/L5UgE8uzEcqlOTML-screenshot-113.png)

# Unifi/Ubiquiti Router Setup

#### **Router with Static IP address configuration**

  
1\. Go to SafeDNS **Dashboard &gt; Settings &gt; Devices** and copy your IP address to the "**IP addresses / DynDNS**" box, choose a policy, and click "**Add**".

[![1.Unifi:Ubiquiti.png](https://docs.safedns.com/uploads/images/gallery/2024-08/scaled-1680-/aGcuMd72aZ62JJGv-1-unifiubiquiti.png)](https://docs.safedns.com/uploads/images/gallery/2024-08/aGcuMd72aZ62JJGv-1-unifiubiquiti.png)

2\. Start the Unifi Controller Application and wait for the load. Once it is loaded, start the browser.  
3\. Open the Settings menu from the Dashboard:

[![image-1679334506204.png](https://docs.safedns.com/uploads/images/gallery/2023-03/scaled-1680-/yXTKzEmgHSgvbuK2-image-1679334506204.png)](https://docs.safedns.com/uploads/images/gallery/2023-03/yXTKzEmgHSgvbuK2-image-1679334506204.png)

4\. Browse the Networks menu and select the option either Create New Network or Edit. It depends on the requirements, if you are creating a new setup, there might be no networks created – then you need to create a new network. If you are starting to use SafeDNS on the existing network – then select the Edit option:

[![image-1679334535779.png](https://docs.safedns.com/uploads/images/gallery/2023-03/scaled-1680-/8zwV3dZ4HTFznJQu-image-1679334535779.png)](https://docs.safedns.com/uploads/images/gallery/2023-03/8zwV3dZ4HTFznJQu-image-1679334535779.png)

The following configuration can be used as an example of your Local Network setup.

5\. Set the following DHCP Name Server addresses: 195.46.39.39 and 195.46.39.40

[![image-1679334563582.png](https://docs.safedns.com/uploads/images/gallery/2023-03/scaled-1680-/0neDc5SA9EWAKwA7-image-1679334563582.png)](https://docs.safedns.com/uploads/images/gallery/2023-03/0neDc5SA9EWAKwA7-image-1679334563582.png)

6\. After adding SafeDNS Name Servers, Press the Save button and wait for the provisioning process of the Unifi access points – it may take a while.

**You have successfully configured your router.**

<p class="callout warning">Please note that settings take 5-7 minutes to apply.  
Stats and filtering status update every 10 minutes.  
</p>

#### **Router with Dynamic IP address configuration**

In case you have a Dynamic IP address, you need to configure the DynDNS/DDNS on the router using a third-party Dynamic DNS service.

1\. In the router setting, go to DynDNS/DDNS settings.[![3.Router Setup Guide (IPv4).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/doLiCDLSJKzRoFIe-3-router-setup-guide-ipv4.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/doLiCDLSJKzRoFIe-3-router-setup-guide-ipv4.png)

2\. Check the DynDNS service available for your router. If available, we recommend using the No IP DynDNS service provider.

3\. Go to the website noip.com and sign up.[![4.Router Setup Guide (IPv4).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/bceoEIpcnfn4hTTJ-4-router-setup-guide-ipv4.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/bceoEIpcnfn4hTTJ-4-router-setup-guide-ipv4.png)

4\. In your No-IP account, create a hostname (any name you can think of).[![5.Router Setup Guide (IPv4).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/iM2lBtwjCMovYUlh-5-router-setup-guide-ipv4.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/iM2lBtwjCMovYUlh-5-router-setup-guide-ipv4.png)[![6.Router Setup Guide (IPv4).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/9NhUPXUJ6J7Yb6PE-6-router-setup-guide-ipv4.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/9NhUPXUJ6J7Yb6PE-6-router-setup-guide-ipv4.png)[![7.Router Setup Guide (IPv4).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/jXwQLcgVhGd8Kuj6-7-router-setup-guide-ipv4.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/jXwQLcgVhGd8Kuj6-7-router-setup-guide-ipv4.png)

5\. Go back to your router and configure DDNS/DynDNS.

- Select No-IP as "**Service provider**".
- Type in the created hostname in the "**Hostname**" field.
- Type in your No-IP account credentials as "Username" and "Password", and click "Save".

[![8.Router Setup Guide (IPv4).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/DL3RnBN6JAKMoytg-8-router-setup-guide-ipv4.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/DL3RnBN6JAKMoytg-8-router-setup-guide-ipv4.png)

If everything is correct, DynDNS/DDNS settings will apply.[![9Router Setup Guide (IPv4).png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/PlNezRO5TgDXeXt6-9router-setup-guide-ipv4.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/PlNezRO5TgDXeXt6-9router-setup-guide-ipv4.png)

6\. Go to SafeDNS **Dashboard &gt; Settings &gt; Devices** and copy your DynDNS hostname to the "**IP addresses / DynDNS**" box, choose a policy, and click "**Add**".[![2.Unifi:Ubiquiti.png](https://docs.safedns.com/uploads/images/gallery/2024-08/scaled-1680-/LpXHkQFElp5Kb3Nq-2-unifiubiquiti.png)](https://docs.safedns.com/uploads/images/gallery/2024-08/LpXHkQFElp5Kb3Nq-2-unifiubiquiti.png)

Once added, you will see it in the DynDNS section of the Dashboard.[![3.Unifi:Ubiquiti.png](https://docs.safedns.com/uploads/images/gallery/2024-08/scaled-1680-/ISJTfIGJzOkXA3Uu-3-unifiubiquiti.png)](https://docs.safedns.com/uploads/images/gallery/2024-08/ISJTfIGJzOkXA3Uu-3-unifiubiquiti.png)

7\. Start the Unifi Controller Application and wait for the load. Once it is loaded, start the browser.  
8\. Open the Settings menu from the Dashboard:

[![image-1679334506204.png](https://docs.safedns.com/uploads/images/gallery/2023-03/scaled-1680-/yXTKzEmgHSgvbuK2-image-1679334506204.png)](https://docs.safedns.com/uploads/images/gallery/2023-03/yXTKzEmgHSgvbuK2-image-1679334506204.png)

9\. Browse the Networks menu and select the option either Create New Network or Edit. It depends on the requirements, if you are creating a new setup, there might be no networks created – then you need to create a new network. If you are starting to use SafeDNS on the existing network – then select the Edit option:

[![image-1679334535779.png](https://docs.safedns.com/uploads/images/gallery/2023-03/scaled-1680-/8zwV3dZ4HTFznJQu-image-1679334535779.png)](https://docs.safedns.com/uploads/images/gallery/2023-03/8zwV3dZ4HTFznJQu-image-1679334535779.png)

The following configuration can be used as an example of your Local Network setup.

10\. Set the following DHCP Name Server addresses: 195.46.39.39 and 195.46.39.40

[![image-1679334563582.png](https://docs.safedns.com/uploads/images/gallery/2023-03/scaled-1680-/0neDc5SA9EWAKwA7-image-1679334563582.png)](https://docs.safedns.com/uploads/images/gallery/2023-03/0neDc5SA9EWAKwA7-image-1679334563582.png)

11\. After adding SafeDNS Name Servers, Press the Save button and wait for the provisioning process of the Unifi access points – it may take a while.

**You have successfully configured your router.**

<p class="callout warning">Please note that settings take 5-7 minutes to apply.  
Stats and filtering status update every 10 minutes.  
</p>

#### **Configuring the filter using the DDclient.**

In rare cases when your router does not have a DynDNS/DDNS setting and your IP is Dynamic, you need to use third-party software - **DDclient** - on the PC connected to the network:

1\. [Install DDclient](https://docs.safedns.com/books/installation-guides/page/dd-client-setup) on a PC connected to the network. Once DDclient is installed, all devices connected to the same network will be filtered by the same rules.

2\. Set up DNS servers in your router:

[![image-1679334749750.png](https://docs.safedns.com/uploads/images/gallery/2023-03/scaled-1680-/vEgI32ecvjXmZRlB-image-1679334749750.png)](https://docs.safedns.com/uploads/images/gallery/2023-03/vEgI32ecvjXmZRlB-image-1679334749750.png)

# Verizon Router Setup

#### **Router with Static IP address configuration**

1\. Go to SafeDNS **Dashboard &gt; Settings &gt; Devices** and copy your IP address to the "**IP addresses / DynDNS**" box, choose a policy, and click "**Add**".

[![1.Verizon Router.png](https://docs.safedns.com/uploads/images/gallery/2024-08/scaled-1680-/ksLVlEkmxlLYHDTL-1-verizon-router.png)](https://docs.safedns.com/uploads/images/gallery/2024-08/ksLVlEkmxlLYHDTL-1-verizon-router.png)

2\. Locate the network configuration on your router and set the SafeDNS server- 195.46.39.39 and 195.46.39.40  
To do that, click on the icon My Network and browse the Network Connection option:

[![image-1679334841427.png](https://docs.safedns.com/uploads/images/gallery/2023-03/scaled-1680-/TNU8eoj7UtKfLSef-image-1679334841427.png)](https://docs.safedns.com/uploads/images/gallery/2023-03/TNU8eoj7UtKfLSef-image-1679334841427.png)

My Network &gt; Network Connections

  
3\. Locate in the connection list the Broadband Connection with the status: Connected:

[![image-1679334863899.png](https://docs.safedns.com/uploads/images/gallery/2023-03/scaled-1680-/AbDcc691TIrNGGYY-image-1679334863899.png)](https://docs.safedns.com/uploads/images/gallery/2023-03/AbDcc691TIrNGGYY-image-1679334863899.png)

On the next screen locate the Settings button and press it:

[![image-1679334880774.png](https://docs.safedns.com/uploads/images/gallery/2023-03/scaled-1680-/tVJJu15EtUxgEqkj-image-1679334880774.png)](https://docs.safedns.com/uploads/images/gallery/2023-03/tVJJu15EtUxgEqkj-image-1679334880774.png)

  
4\. Change the DNS server option by selecting the “Use the Following DNS Server Addresses”

[![image-1679334900507.png](https://docs.safedns.com/uploads/images/gallery/2023-03/scaled-1680-/gn2xzAqSSTSJiRDW-image-1679334900507.png)](https://docs.safedns.com/uploads/images/gallery/2023-03/gn2xzAqSSTSJiRDW-image-1679334900507.png)

5\. Once the option is changed, the fields are activated where you can set the SafeDNS DNS servers:

[![image-1679334915568.png](https://docs.safedns.com/uploads/images/gallery/2023-03/scaled-1680-/3tgZZp1uDO5GmeTA-image-1679334915568.png)](https://docs.safedns.com/uploads/images/gallery/2023-03/3tgZZp1uDO5GmeTA-image-1679334915568.png)

195.46.39.39 and 195.46.39.40.

**You have successfully configured your router.**

<div class="pointer-container" id="bkmrk-%C2%A0"><div class="pointer anim is-page-editable"><svg class="svg-icon" data-icon="link" role="presentation" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"></svg><div class="input-group inline block"> <button class="button outline icon" data-clipboard-target="#pointer-url" title="Copy Link" type="button"><svg class="svg-icon" data-icon="copy" role="presentation" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"></svg></button></div><svg class="svg-icon" data-icon="edit" role="presentation" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"></svg></div></div><p class="callout warning">Please note that settings take 5-7 minutes to apply.  
Stats and filtering status update every 10 minutes.</p>

# Mikrotik Router Setup

#### **Router with Static IP address configuration**

  
Go to SafeDNS **Dashboard &gt; Settings &gt; Devices** and copy your IP address to the "**IP addresses / DynDNS**" box, choose a policy, and click "**Add**".

[![Screenshot_124.png](https://docs.safedns.com/uploads/images/gallery/2024-08/scaled-1680-/3VPJFjBDwGYLqVXE-screenshot-124.png)](https://docs.safedns.com/uploads/images/gallery/2024-08/3VPJFjBDwGYLqVXE-screenshot-124.png)

2\. Change your router’s DNS servers to SafeDNS addresses - **195.46.39.39** and **195.46.39.40**  
To do that, open the configuration page of the Mikrotik router, and browse the following option:  
Menu &gt; IP &gt;DHCP Server &gt; Networks

[![image-1679334312313.png](https://docs.safedns.com/uploads/images/gallery/2023-03/scaled-1680-/SjvZhBZ84aF1KCre-image-1679334312313.png)](https://docs.safedns.com/uploads/images/gallery/2023-03/SjvZhBZ84aF1KCre-image-1679334312313.png)

3\. Select the “Network” used by the DHCP server and change/add the SafeDNS addresses - 195.46.39.39 and 195.46.39.40. Replace the DNS servers if there was configured any:

[![image-1679334344734.png](https://docs.safedns.com/uploads/images/gallery/2023-03/scaled-1680-/e2rSJDnY8MHSxFBx-image-1679334344734.png)](https://docs.safedns.com/uploads/images/gallery/2023-03/e2rSJDnY8MHSxFBx-image-1679334344734.png)

**You have successfully configured your router.**

<p class="callout warning">Please note that settings take 5-7 minutes to apply.  
Stats and filtering status update every 10 minutes.  
</p>

---

#### **Router with Dynamic IP address configuration**

Mikrotik Routers has the embedded feature of the Dynamic DNS setup named VPN Access.  
It can be activated easily from the router with no configuration needed on any DDNS service.

1\. Open the main page of the router – the Quick Set Menu and scroll down to the VPN setup:

[![image-1679334382392.png](https://docs.safedns.com/uploads/images/gallery/2023-03/scaled-1680-/g0r2HATD0nRUuhT9-image-1679334382392.png)](https://docs.safedns.com/uploads/images/gallery/2023-03/g0r2HATD0nRUuhT9-image-1679334382392.png)

2\. Activate the VPN access and set the VPN Password. Click the button Apply Configuration in order to save and activate the settings. Copy the VPN address to the clipboard.

3\. Go to SafeDNS Dashboard &gt; Settings &gt; Devices paste the VPN address the "IP addresses / DynDNS" box, choose a policy, and click "Add".

[![1.routermikro.png](https://docs.safedns.com/uploads/images/gallery/2024-08/scaled-1680-/NvAUzR1gP8EqSy4I-1-routermikro.png)](https://docs.safedns.com/uploads/images/gallery/2024-08/NvAUzR1gP8EqSy4I-1-routermikro.png)

Once added, you will see it in the DynDNS section of the Dashboard.

[![2.routermikrotik.png](https://docs.safedns.com/uploads/images/gallery/2024-08/scaled-1680-/3arzLM4MOk3g9K9p-2-routermikrotik.png)](https://docs.safedns.com/uploads/images/gallery/2024-08/3arzLM4MOk3g9K9p-2-routermikrotik.png)

4\. Change your router’s DNS servers to SafeDNS addresses - **195.46.39.39** and **195.46.39.40**  
To do that, open the configuration page of the Mikrotik router, and browse the following option:  
Menu &gt; IP &gt;DHCP Server &gt; Networks

[![image-1679334312313.png](https://docs.safedns.com/uploads/images/gallery/2023-03/scaled-1680-/SjvZhBZ84aF1KCre-image-1679334312313.png)](https://docs.safedns.com/uploads/images/gallery/2023-03/SjvZhBZ84aF1KCre-image-1679334312313.png)

5\. Select the “Network” used by the DHCP server and change/add the SafeDNS addresses - 195.46.39.39 and 195.46.39.40. Replace the DNS servers if there was configured any:

[![image-1679334344734.png](https://docs.safedns.com/uploads/images/gallery/2023-03/scaled-1680-/e2rSJDnY8MHSxFBx-image-1679334344734.png)](https://docs.safedns.com/uploads/images/gallery/2023-03/e2rSJDnY8MHSxFBx-image-1679334344734.png)

**You have successfully configured your router.**

<p class="callout warning">Please note that settings take 5-7 minutes to apply.  
Stats and filtering status update every 10 minutes.  
</p>

---

#### DoH setup

<p class="callout warning">DoH is supported on all paid plans.  
DoH links with policy are available on Education &amp; Non-Profit, Pro, and Pro Plus plans only.  
</p>

MikroTik router allows to set up DoH connection to SafeDNS.

##### DoH link without policy

With this setup, all devices connected to the network with IP address added in the SafeDNS Dashboard will be filtered with the selected policy.   
If IP address of the router is changed, you need to add a new IP address in the SafeDNS Dashboard.

Navigate to SafeDNS **Dashboard &gt; Settings &gt; Devices**, copy your IP address to the "**IP addresses/DynDNS**" box, choose a policy, and click "**Add**".

[![Screenshot_124.png](https://docs.safedns.com/uploads/images/gallery/2024-08/scaled-1680-/3VPJFjBDwGYLqVXE-screenshot-124.png)](https://docs.safedns.com/uploads/images/gallery/2024-08/3VPJFjBDwGYLqVXE-screenshot-124.png)

**In the MikroTik router:**  
1\. Navigate to **IP &gt; DNS**, enter "https://doh.safedns.com/" in the **Use DoH Server** field, untick **Verify DoH Certificate**, and save the changes.

[![Screenshot_126.png](https://docs.safedns.com/uploads/images/gallery/2024-08/scaled-1680-/RxbyVBdQ3FyInVB2-screenshot-126.png)](https://docs.safedns.com/uploads/images/gallery/2024-08/RxbyVBdQ3FyInVB2-screenshot-126.png)

  
DoH link with policy

With this setup, all devices connected to the router will be filtered with the selected policy.  
The Router is identified by the policy token in the link. If the IP address of the router changes, it will not affect the filtering.

1\. Navigate to SafeDNS **Dashboard &gt; Settings &gt; Policy**, and copy the DoH link with the policy.

[![Screenshot_127.png](https://docs.safedns.com/uploads/images/gallery/2024-08/scaled-1680-/wbt7FFzc2QoxvIDk-screenshot-127.png)](https://docs.safedns.com/uploads/images/gallery/2024-08/wbt7FFzc2QoxvIDk-screenshot-127.png)

2\. In the MikroTik router, navigate to **IP &gt; DNS**, enter the copied link in the **Use DoH Server** field, untick **Verify DoH Certificate**, and save the changes.

[![image-1760555725062.png](https://docs.safedns.com/uploads/images/gallery/2025-10/scaled-1680-/E75VaDzdDOQu6WcD-image-1760555725062.png)](https://docs.safedns.com/uploads/images/gallery/2025-10/E75VaDzdDOQu6WcD-image-1760555725062.png)

After that, all devices connected to the router will be filtered with the selected policy.

# OpenWRT Router Setup

If you have static IP or use a DynDNS service you can set up SafeDNS on your OpenWRT router just like any other router using [this guide](https://docs.safedns.com/books/installation-guides/page/router-setup).

<p class="callout warning">Only OpenWRT versions 17 or lower are supported.</p>

1. Setup DDNS client. Select in menu **System &gt; Software**.  
      
    [![1.OpenWRT Router Setup Guide.png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/Y0rXTgsHUIM7fsU8-1-openwrt-router-setup-guide.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/Y0rXTgsHUIM7fsU8-1-openwrt-router-setup-guide.png)

2\. Click **Update lists**.

[![2.DD-WRT Router Setup Guide.png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/nSCAXgzaTREjFdP6-2-dd-wrt-router-setup-guide.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/nSCAXgzaTREjFdP6-2-dd-wrt-router-setup-guide.png)

3\. Type `luci-app-ddns` in **Download and install package** and click **OK**.

[![3.OpenWRT Router Setup Guide.png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/iGEUNvxnpUryJggc-3-openwrt-router-setup-guide.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/iGEUNvxnpUryJggc-3-openwrt-router-setup-guide.png)

[![4.OpenWRT Router Setup Guide.png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/WL0JdWU7wu9N29FP-4-openwrt-router-setup-guide.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/WL0JdWU7wu9N29FP-4-openwrt-router-setup-guide.png)

4\. Click **Status** in the menu to refresh the menu. New item **Services** and subitem **Dynamic DNS** will appear in the menu.

[![5.OpenWRT Router Setup Guide.png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/qFqNEATZ3g8OePqA-5-openwrt-router-setup-guide.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/qFqNEATZ3g8OePqA-5-openwrt-router-setup-guide.png)

5\. Fill out the form on page **Dynamic DNS:**

- In **Custom update-URL** insert - `https://[USERNAME]:[PASSWORD]@www.safedns.com/nic/update?hostname=[DOMAIN]`
- In **Hostname** type any unique name for your router
- In **Username** type login for SafeDNS site, in **Password** type password for SafeDNS site.
- Click **Save &amp; Apply**

6\. Enable and start DDNS service.

7\. Select in menu **System &gt; Startup**

[![6.OpenWRT Router Setup Guide.png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/mttUpcXrCbyk7QGW-6-openwrt-router-setup-guide.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/mttUpcXrCbyk7QGW-6-openwrt-router-setup-guide.png)

8\. Click the **Disabled** button for **ddns** service, then click **Start**.

[![7.OpenWRT Router Setup Guide.png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/FShQBOJr1dOKMX7C-7-openwrt-router-setup-guide.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/FShQBOJr1dOKMX7C-7-openwrt-router-setup-guide.png)

9\. Check the string appearing in the system log (**Status &gt; System log**):

<p class="callout info">user.notice ddns-scripts-myddns: Update successful</p>

10\. Navigate to **Network &gt; Interfaces, WAN**.

11\. In **Use custom DNS servers** add **195.46.39.39** and **195.46.39.40**. Click **Save &amp; Apply**.

After that, you can continue configuring your filtering options in the [SafeDNS Dashboard](https://www.safedns.com/cabinet/main/).

<p class="callout warning">Please note that settings take 5-7 minutes to apply.  
Stats and filtering status update every 10 minutes.  
</p>

# DD-WRT Router Setup

If you have static IP or use a DynDNS service, you can set up SafeDNS on your DD-WRT router just like any other router using [this guide](https://docs.safedns.com/books/installation-guides/page/router-setup).

Alternatively, you can configure the SafeDNS filter on a DD-WRT router using its native firmware:

1\. Go to the **“Setup” tab &gt; “Basic setup” &gt;** find the section **“Network Address Server Settings”** and set **195.46.39.39** and **195.46.39.40** as DNS servers.  
[![image1.png](https://docs.safedns.com/uploads/images/gallery/2022-11/scaled-1680-/3AxtoZLA8FtWu1Mn-image1.png)](https://docs.safedns.com/uploads/images/gallery/2022-11/3AxtoZLA8FtWu1Mn-image1.png)

<p class="callout info"><span style="font-weight: 400;">Select the "**Forced DNS Redirection**" to force all DNS requests from the network to use SafeDNS servers, even if the end device has custom DNS servers.</span></p>

2\. In the **"WAN Setup"** section check the **"Ignore WAN DNS"** option.  
[![DDWRT-WAN.png](https://docs.safedns.com/uploads/images/gallery/2023-04/scaled-1680-/2vsVUpWIM4TXMu0l-ddwrt-wan.png)](https://docs.safedns.com/uploads/images/gallery/2023-04/2vsVUpWIM4TXMu0l-ddwrt-wan.png)

3\. Go to the **DDNS** tab.  
4\. Select **Custom** for DDNS Service type.  
5\. Type in ***www.safedns.com*** in the **DYNDNS Server** field.  
6\. Type in your login (email) from the SafeDNS account in the **User Name** field.  
7\. Type in your password in the **Password** field.  
8\. Type in any name (hostname) in the **Host** field.  
9\. Type in ***/nic/update?hostname=*** in the **URL** field.  
10\. **Save and apply** settings.

[![2.DD-WRT Router Setup Guide.png](https://docs.safedns.com/uploads/images/gallery/2022-08/scaled-1680-/nSCAXgzaTREjFdP6-2-dd-wrt-router-setup-guide.png)](https://docs.safedns.com/uploads/images/gallery/2022-08/nSCAXgzaTREjFdP6-2-dd-wrt-router-setup-guide.png)

If all settings are correct, you will see the successful update of your address in the DDNS Status block.

After that, you can continue configuring your filtering options in the [SafeDNS Dashboard](https://www.safedns.com/cabinet/main/).

<p class="callout warning">Please note that settings take 5-7 minutes to apply.  
Stats and filtering status update every 10 minutes.  
</p>

# Huawei iMaster NCE Campus Setup

---

#### Prerequisites

1. Sign up for a Reseller account by contacting the SafeDNS Sales team (<sales@safedns.com>).
2. Create a sub-account for each tenant or group of tenants, implementing the multi-tenant capability of SafeDNS.
3. Configure the filtering rules for each tenant.
4. Receive the public Subscription API key from the SafeDNS manager.  
    To read more about API methods, please check the [Subscription API documentation](https://docs.safedns.com/books/subscription-api/page/subscription-api-guide).

---

#### Setup

##### Connect a SafeDNS account to iMaster NCE controller  


[![Screenshot_245.png](https://docs.safedns.com/uploads/images/gallery/2023-09/scaled-1680-/NEtX66rfGBJDcqpL-screenshot-245.png)](https://docs.safedns.com/uploads/images/gallery/2023-09/NEtX66rfGBJDcqpL-screenshot-245.png)

1. Navigate to **System &gt; System Settings &gt; Third-Party Service &gt; DNS Interconnection Parameters**.
2. Fill information in the following fields: 
    - DNS IP-Address Main: 195.46.39.39
    - DNS IP-Address Secondary: 195.46.39.40
    - Account: sub-account to connect to SafeDNS
    - Public key: public Subscription API key

---

##### Activate URL-Filtering

1. Select a site in iMaster NCE controller, on which you want to use URL Filtering
2. Navigate to **Provision &gt; Physical Network &gt; Site Configuration**.
3. Select a site from the site drop-down list in the upper left corner.
4. Navigate to the **Site Configuration** tab.
5. Navigate to **AP &gt; Advanced**.
6. Enable DHCP.
7. Set DHCP server parameters.
8. Enable Third-party URL Filtering.

[![Screenshot_246.png](https://docs.safedns.com/uploads/images/gallery/2023-09/scaled-1680-/MrFaB5nyVXDLbQ2d-screenshot-246.png)](https://docs.safedns.com/uploads/images/gallery/2023-09/MrFaB5nyVXDLbQ2d-screenshot-246.png)

---

##### (Optional) Update TLS certificate

A SafeDNS certificate is used for unidirectional authentication between iMaster NCE-Campus and a third-party SafeDNS server.  
This operation is involved in URL filtering by SafeDNS.

<p class="callout info">By default, the SafeDNS certificate is preinstalled on iMaster NCE-Campus.  
</p>

Contact SafeDNS if you need an updated certificate.

1. Log in to iMaster NCE Campus as the system administrator.
2. Navigate to **System &gt; System Management &gt; Certificate Management**.
3. Select **Service Certificate Management  
    [![Screenshot_247.png](https://docs.safedns.com/uploads/images/gallery/2023-09/scaled-1680-/I722rD4iDadkBoKd-screenshot-247.png)](https://docs.safedns.com/uploads/images/gallery/2023-09/I722rD4iDadkBoKd-screenshot-247.png)**
4. Select CampusCfgService\_SafeDNS.
5. Click on the Trust Certificate tab.
6. Click Import.  
    [![Screenshot_248.png](https://docs.safedns.com/uploads/images/gallery/2023-09/scaled-1680-/8uTOgnN6EV5lU0En-screenshot-248.png)](https://docs.safedns.com/uploads/images/gallery/2023-09/8uTOgnN6EV5lU0En-screenshot-248.png)
7. Set Certificate Format to DER.
8. Select the certificate file and click Submit.
9. Wait for 2 minutes.
10. Restart the CampusCfgService service for the certificate to apply:  
    
    1. Log in to the management panel.
    2. Navigate to Product &gt; System Monitoring &gt; Service tab.
    3. Search for CampusCfgService.
    4. Select the service.
    5. Click Stop.
    6. Click Start.
11. Log in to the iMaster NCE Campus and check whether the certificate file is successfully uploaded to the following path: `/opt/oss/NCECAMPUS/apps/CampusCfgService/controller/configuration/safedns`

# Comcast Xfinity Router Setup

Most Xfinity routers for both residential and business users come with the firmware that intercepts all DNS requests. Even if DNS addresses are changed, the router will continue redirecting DNS requests to Comcast servers.

---

#### Business users

For business users, DNS interception is controlled by the **Security Edge** feature that can be disabled in your account on the Comcast for Business portal.

---

#### Residential users

Unfortunately, residential users can not disable DNS interception on Xfinity routers.

However, there are several possible solutions on how to bypass DNS interception.

##### Solution 1 - connect a third-party router

Connecting a third-party router to Xfinity router will create a secondary network in which you have full control over router's settings. After that, set up the third-party router using [this guide for routers](https://docs.safedns.com/books/installation-guides/page/router-setup) and connect all your devices to it.

##### Solution 2 - install SafeDNS Agent on devices

<p class="callout info">The Agent is available on the following billing plans: **Safe Family, Pro, Pro Plus,** and archived **Safe@Home, Safe@Office**.</p>

Alternatively, you can install SafeDNS Agents on all devices that require filtering. SafeDNS Agent works in any network.

[Windows](https://docs.safedns.com/books/installation-guides/page/safedns-agent-for-windows-setup), [Mac](https://docs.safedns.com/books/installation-guides/page/safedns-agent-for-macos-setup), [Linux](https://docs.safedns.com/books/installation-guides/page/safedns-agent-for-linux-setup), [Android](https://docs.safedns.com/books/installation-guides/page/safedns-app-for-android-setup)

If you have installed SafeDNS Agent and the filtering doesn't work correctly, please check the parental control feature:

1. Log into [Xfinity dashboard](https://login.xfinity.com/login).
2. Navigate to **Network**.
3. Select your gateway/router*.*
4. Select **device** you need to remove parental controls from.  
    Unfortunately, this setting has to be disabled for each device separately.
5. Scroll down to the **Assigned to** panel and click on the cogwheel icon.
6. Click on the **parental control** option.
7. Select **Off** and click **Apply Changes**.

<p class="callout info">Alternatively, you can enable DoH or DoT in the Agent's Settings to bypass the parental control feature.</p>

##### Solution 3 - use OpenVPN for filtering on devices

The filtering can be set up using a third-party application OpenVPN on all devices that require filtering.

Please follow [this guide](https://docs.safedns.com/books/installation-guides/page/general-setup-via-openvpn) for OpenVPN setup.

##### Solution 4 - use Encrypted DNS (DoH/DoT)

Please follow [this guide](https://docs.safedns.com/books/installation-guides/page/encrypted-dns-setup-dohdot) for Encrypted DNS setup.

# Meraki Router Setup

#### **Router with Static IP address configuration**

1\. Go to SafeDNS **Dashboard** **&gt; Settings &gt; Devices** and copy your IP address to the **"IP addresses / DynDNS"** box, choose a policy, and click **"Add"**.

[![Meraki_router.png](https://docs.safedns.com/uploads/images/gallery/2025-02/scaled-1680-/qj3rySx5DGMSL78x-meraki-router.png)](https://docs.safedns.com/uploads/images/gallery/2025-02/qj3rySx5DGMSL78x-meraki-router.png)

2\. Change your router’s DNS servers to SafeDNS addresses:

To do that, on the Meraki Dashboard, navigate to **Security &amp; SD-WAN &gt; Configure &gt; DHCP &gt; Main subnet/VLAN ID &gt; DNS nameservers** and choose **Specify nameservers**... from the drop-down.

In the **"Custom nameservers"** field indicate SafeDNS addresses **− 195.46.39.39** and **195.46.39.40 [![Meraki_router1.png](https://docs.safedns.com/uploads/images/gallery/2025-02/scaled-1680-/4ao7T3KOuAOAoKPN-meraki-router1.png)](https://docs.safedns.com/uploads/images/gallery/2025-02/4ao7T3KOuAOAoKPN-meraki-router1.png)**





**You have successfully configured your router.**

<p class="callout warning">Please note that settings take 5-7 minutes to apply.  
Stats and filtering status update every 10 minutes.</p>

#### **Router with Dynamic IP address configuration** 

##### **Using Meraki Built-in Dynamic DNS.**

**1.** Once on the **Security &amp; SD-WAN &gt; Monitor &gt; Appliance status** page, select the pencil icon next to **Hostname**, located between the **WAN IP** and **Serial Number** on the left of the page.  
[![Meraki_router4.png](https://docs.safedns.com/uploads/images/gallery/2025-02/scaled-1680-/JDiqGz8VFfBqLxpd-meraki-router4.png)](https://docs.safedns.com/uploads/images/gallery/2025-02/JDiqGz8VFfBqLxpd-meraki-router4.png)

A dialog box will appear for configuring Dynamic DNS. Select **Enabled** in the dialog box and enter a public domain name if necessary, then select **Update**.

[![Meraki_router5.png](https://docs.safedns.com/uploads/images/gallery/2025-02/scaled-1680-/58GvZRzDmKZneo0x-meraki-router5.png)](https://docs.safedns.com/uploads/images/gallery/2025-02/58GvZRzDmKZneo0x-meraki-router5.png)

2\. Go to SafeDNS **Dashboard &gt; Settings &gt; Devices** and copy the DynDNS hostname of the needed WAN to the "**IP addresses / DynDNS**" box, choose a policy, and click "**Add**".  
[![Meraki_router2.png](https://docs.safedns.com/uploads/images/gallery/2025-02/scaled-1680-/52dFFzZvkIQnxPsm-meraki-router2.png)](https://docs.safedns.com/uploads/images/gallery/2025-02/52dFFzZvkIQnxPsm-meraki-router2.png)

Once added, you will see it in the **DynDNS** section of the Dashboard.  
  
[![Meraki_router3.png](https://docs.safedns.com/uploads/images/gallery/2025-02/scaled-1680-/8nyCrDxyjV4DzvcO-meraki-router3.png)](https://docs.safedns.com/uploads/images/gallery/2025-02/8nyCrDxyjV4DzvcO-meraki-router3.png)

<p class="callout info">After **DynDNS** is enabled, you can confirm it is working by performing a DNS query for the MX DDNS hostname. Open a command prompt (cmd) on any workstation and type "nslookup &lt;your dynamic DNS name&gt;." The DNS response should return the current active public IP address.</p>

# Starlink Router and Network Setup

Starlink provides internet access with unique networking characteristics, including **dynamic IP addresses** for all users and **CGNAT (Carrier-Grade NAT)** for most customers. Some Starlink plans offer a **dedicated (but still dynamic) public IP**.

This guide covers methods to configure DNS filtering on Starlink, depending on your setup:

- Users with **dedicated dynamic IPs**.
- Users **behind CGNAT** with shared IPs.
- **Universal solutions** (DoH, VPN, or SafeDNS Agents) that work for all scenarios.

---

#### Starlink with a dedicated dynamic IP

##### 1. Using Starlink Router

This method is suitable for testing the filtering service. However, it is not recommended for the final setup, because the filtering will stop working as soon as the IP changes.

1\. Go to SafeDNS **Dashboard &gt; Settings &gt; Devices** and copy your IP address to the "**IP addresses / DynDNS**" box, choose a policy, and click "**Add**".

[![image-1727269632094.png](https://docs.safedns.com/uploads/images/gallery/2024-09/scaled-1680-/Eaeyj7kJqvBq5RVV-image-1727269632094.png)](https://docs.safedns.com/uploads/images/gallery/2024-09/Eaeyj7kJqvBq5RVV-image-1727269632094.png)  
2\. Change your router’s DNS servers to SafeDNS addresses - **195.46.39.39** and **195.46.39.40**

To change the DNS settings on a Starlink router, follow these steps:

<div class="pointer-container" id="bkmrk-%C2%A0"><div class="pointer anim is-page-editable"><svg class="svg-icon" data-icon="link" role="presentation" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"></svg><div class="input-group inline block"> <button class="button outline icon" data-clipboard-target="#pointer-url" title="Copy Link" type="button"><svg class="svg-icon" data-icon="copy" role="presentation" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"></svg></button></div><svg class="svg-icon" data-icon="edit" role="presentation" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"></svg></div></div>1. Connect to the Starlink Network.
2. Open the Starlink app on your smartphone or tablet. If you don’t have the app, you can download it from the App Store (iOS) or Google Play Store (Android).
3. Log in to your Starlink account.
4. Navigate to **SETTINGS &gt; CUSTOM DNS**.
    
    [![image-1727269134892.png](https://docs.safedns.com/uploads/images/gallery/2024-09/scaled-1680-/WG3UkzFEgTrMD300-image-1727269134892.png)](https://docs.safedns.com/uploads/images/gallery/2024-09/WG3UkzFEgTrMD300-image-1727269134892.png)
5. Toggle "**Enable Custom DNS**" on and enter SafeDNS addresses **195.46.39.39** and **195.46.39.40**.  
    [![image-1727269302493.png](https://docs.safedns.com/uploads/images/gallery/2024-09/scaled-1680-/I7SR7ttGi3K5yNvO-image-1727269302493.png)](https://docs.safedns.com/uploads/images/gallery/2024-09/I7SR7ttGi3K5yNvO-image-1727269302493.png)
6. Save Changes.

<p class="callout warning">Please note that settings take 5-7 minutes to apply.  
Stats and filtering status update every 10 minutes.</p>

##### 2. Using a third-party router with DynDNS

This method is recommended for the final setup. It applies the filtering for all devices connected to the router, and also automatically updates the IP address when it changes.

1. Enable [**Bypass Mode**](https://www.starlink.com/support/article/a0fe8d51-32f7-d2b9-d74a-801e31ad9f6a) on the Starlink router.
2. Connect a third-party router supporting DynDNS (most modern routers should support this feature).
3. Configure DynDNS by following this general [guide for routers with Dynamic IP address configuration](https://docs.safedns.com/books/installation-guides/page/router-setup#bkmrk-router-with-dynamic-).

##### 3. Using DD Client on the end device (local DynDNS)

This method is a compromise between the methods above. It allows updating a dynamic IP automatically without using a third-party router.

You must install a DD Client on a device in the filtered network. Ideally, this device should be on and connected to the Internet most time. DD Client is available for most operating systems.

Please follow the [DD Client guide](https://docs.safedns.com/books/installation-guides/page/dd-client-setup).

---

#### Starlink behind CGNAT (shared public IP)

In rare cases, it might be possible to set up the filtering using the methods for dedicated IP setup. However, there is no guarantee that the filtering will work without interruptions. We strongly suggest using the universal solutions methods listed below.

---

#### Universal solutions (any Starlink configuration)

All methods listed here will work for both dedicated IP and shared IP cases.

##### 1. Encrypted DNS (DoH or DoT) on a third-party router

This method is recommended for the final setup. It applies the filtering for all devices connected to the router.

1. Enable **Bypass Mode** on the Starlink router.
2. Connect a third-party router supporting DoH/DoT (not all routers support this feature).
3. Follow the [Encrypted DNS guide](https://docs.safedns.com/books/installation-guides/page/dns-over-https-setup-doh-url).

##### 2. Encrypted DNS (DoH or DoT) on end devices

This method provides filtering for each end device where the DoH/DoT link is used.

Please follow the [Encrypted DNS guide](https://docs.safedns.com/books/installation-guides/page/dns-over-https-setup-doh-url).

##### 3. SafeDNS Agent

This method requires the installation of SafeDNS Agent on each end device that needs to be filtered.

Please follow the SafeDNS Agent guides:

- [Windows](https://docs.safedns.com/books/installation-guides/page/safedns-agent-for-windows-setup)
- [Mac](https://docs.safedns.com/books/installation-guides/page/safedns-agent-for-macos-setup)
- [Linux](https://docs.safedns.com/books/installation-guides/page/safedns-agent-for-linux-setup)
- [Android](https://docs.safedns.com/books/installation-guides/page/safedns-app-for-android-setup)
- [iOS](https://docs.safedns.com/books/installation-guides/page/safedns-application-deployment-using-mdm-integrators-for-ios) (MDM only)

##### 4. OpenVPN

This method allows connecting to the SafeDNS server using VPN.

Please follow the general [OpenVPN guide](https://docs.safedns.com/books/installation-guides/page/general-setup-via-openvpn).