# 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>