# How to tunnel DNS through NordVPN?

**URL:** https://dietpi.com/forum/t/how-to-tunnel-dns-through-nordvpn/19368
**Category:** General Discussion
**Created:** [20 February 2024 17:47 UTC](https://dietpi.com/forum/t/how-to-tunnel-dns-through-nordvpn/19368 "2024-02-20T17:47:12Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![sailorgrouse](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/s/ea666f/32.png) [@sailorgrouse](https://dietpi.com/forum/u/sailorgrouse)
#### Post date: [20 February 2024 17:47 UTC](https://dietpi.com/forum/t/how-to-tunnel-dns-through-nordvpn/19368/1 "2024-02-20T17:47:12Z")

</div>

Hi all, I’m a bit of a noob when it comes to Linux and networking and general, but trying my best to learn. I’ve been able to get my NordVPN set up by using the dietpi-vpn tool, and when checking the external IP it seems to be routed properly. However, when I use something to check the DNS, it shows my ISP instead of going through Nord.

Are there some specific settings I need to change somewhere to make sure the DNS queries are going through the VPN?

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [20 February 2024 18:01 UTC](https://dietpi.com/forum/t/how-to-tunnel-dns-through-nordvpn/19368/2 "2024-02-20T18:01:22Z")

</div>

which DNS server has been set?

```auto
cat /etc/resolv.conf

```

---

<div class="post-metadata">

### Author: ![sailorgrouse](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/s/ea666f/32.png) [@sailorgrouse](https://dietpi.com/forum/u/sailorgrouse)
#### Post date: [20 February 2024 18:11 UTC](https://dietpi.com/forum/t/how-to-tunnel-dns-through-nordvpn/19368/3 "2024-02-20T18:11:16Z")

</div>

Ah it looks like it is going to my router at 192.168.1.1. What should I change it to, to make it go through the vpn?

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [20 February 2024 18:48 UTC](https://dietpi.com/forum/t/how-to-tunnel-dns-through-nordvpn/19368/4 "2024-02-20T18:48:29Z")

</div>

You are using DHCP or Static IP?

---

<div class="post-metadata">

### Author: ![sailorgrouse](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/s/ea666f/32.png) [@sailorgrouse](https://dietpi.com/forum/u/sailorgrouse)
#### Post date: [20 February 2024 19:07 UTC](https://dietpi.com/forum/t/how-to-tunnel-dns-through-nordvpn/19368/5 "2024-02-20T19:07:39Z")

</div>

I’m using Static IP

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [20 February 2024 19:28 UTC](https://dietpi.com/forum/t/how-to-tunnel-dns-through-nordvpn/19368/6 "2024-02-20T19:28:52Z")

</div>

In this case you should be able to change DNS server via `dietpi-config.`

---

<div class="post-metadata">

### Author: ![sailorgrouse](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/s/ea666f/32.png) [@sailorgrouse](https://dietpi.com/forum/u/sailorgrouse)
#### Post date: [21 February 2024 00:26 UTC](https://dietpi.com/forum/t/how-to-tunnel-dns-through-nordvpn/19368/7 "2024-02-21T00:26:02Z")

</div>

I see. Would I just put the NordVPN DNS servers ( 103.86.96.100 and 103.86.99.100) as a custom address in the Static DNS section of the adapter options? Does that tunnel it through the VPN?

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [21 February 2024 06:33 UTC](https://dietpi.com/forum/t/how-to-tunnel-dns-through-nordvpn/19368/8 "2024-02-21T06:33:32Z")

</div>

Usually any public DNS provider should do

---

<div class="post-metadata">

### Author: ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)
#### Post date: [19 August 2024 06:33 UTC](https://dietpi.com/forum/t/how-to-tunnel-dns-through-nordvpn/19368/9 "2024-08-19T06:33:52Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
