# DNS service not running

**URL:** <https://discourse.pi-hole.net/t/dns-service-not-running/26488>\
**Category:** Help\
**Created:** [December 31, 2019, 8:51am UTC](https://discourse.pi-hole.net/t/dns-service-not-running/26488 "2019-12-31T08:51:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![phuongnd01904](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/phuongnd01904/32/11375_2.png) [@phuongnd01904](https://discourse.pi-hole.net/u/phuongnd01904)\
**Post date:** [December 31, 2019, 8:51am UTC](https://discourse.pi-hole.net/t/dns-service-not-running/26488/1 "2019-12-31T08:51:48Z")

</div>

#### Please follow the below template, it will help us to help you!

## Expected Behaviour:

DNS service running

## Actual Behaviour:

DNS Service not running. I using wsl ubuntu on windows 10

## Debug Token:

x29z6i71sm

---

<div class="post-metadata">

**Author:** ![DL6ER](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dl6er/32/281_2.png) [@DL6ER](https://discourse.pi-hole.net/u/DL6ER)\
**Post date:** [December 31, 2019, 4:27pm UTC](https://discourse.pi-hole.net/t/dns-service-not-running/26488/2 "2019-12-31T16:27:55Z")

</div>

Looking at your debug log, it seems you don't have a correctly configured gateway.

See

> [@Why is a default gateway important for Pi-hole?](https://discourse.pi-hole.net/t/why-is-a-default-gateway-important-for-pi-hole/3546):
>
> What is a default gateway? The [default gateway](https://www.lifewire.com/what-is-a-default-gateway-817771) is how you able to reach the Internet (or other networks) from your private network. Without a default gateway, you will not be able to download or upload information to the Internet, thus Pi-hole will not work since it cannot send queries to upstream servers. In many home setups, your default gateway will be your wireless router. As part of our [debug process](https://discourse.pi-hole.net/t/the-pihole-command-with-examples/738#debug), we check that the gateway is pingable and that traffic can be routed through it. If y…

---

<div class="post-metadata">

**Author:** ![phuongnd01904](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/phuongnd01904/32/11375_2.png) [@phuongnd01904](https://discourse.pi-hole.net/u/phuongnd01904)\
**Post date:** [January 2, 2020, 1:29am UTC](https://discourse.pi-hole.net/t/dns-service-not-running/26488/3 "2020-01-02T01:29:29Z")

</div>

i using command ip -4 route | grep default it return:  
 ![image](https://discourse.pi-hole.net/uploads/default/original/2X/4/4a4aa190fb6a3cd98c9544e8cddea49d33349055.png)

---

<div class="post-metadata">

**Author:** ![DL6ER](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dl6er/32/281_2.png) [@DL6ER](https://discourse.pi-hole.net/u/DL6ER)\
**Post date:** [January 2, 2020, 8:25am UTC](https://discourse.pi-hole.net/t/dns-service-not-running/26488/4 "2020-01-02T08:25:40Z")

</div>

You ran the `ip -4` command on a machine called `DESKTOP-N7AQISB`. Is this the machine Pi-hole is installed on? If not, please run the command on the Pi-hole. If yes, please generate and upload another debug log.

---

<div class="post-metadata">

**Author:** ![phuongnd01904](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/phuongnd01904/32/11375_2.png) [@phuongnd01904](https://discourse.pi-hole.net/u/phuongnd01904)\
**Post date:** [January 2, 2020, 8:57am UTC](https://discourse.pi-hole.net/t/dns-service-not-running/26488/5 "2020-01-02T08:57:55Z")

</div>

DESKTOP-N7AQISB run Windows 10 so i can't run ip -4 command on this machine. i using ubuntu app on windows 10 to install pihole.

 ![image](https://discourse.pi-hole.net/uploads/default/original/2X/5/514fc1d60567674de234eb1f8f6f262f4c7a3cf4.png)

---

<div class="post-metadata">

**Author:** ![DL6ER](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dl6er/32/281_2.png) [@DL6ER](https://discourse.pi-hole.net/u/DL6ER)\
**Post date:** [January 2, 2020, 1:33pm UTC](https://discourse.pi-hole.net/t/dns-service-not-running/26488/6 "2020-01-02T13:33:00Z")

</div>

@DanSchaper @PromoFaux I'm completely unfamiliar with Windows. Is this even supported? Do you know of any installation under these circumstances that work?

---

<div class="post-metadata">

**Author:** ![PromoFaux](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/promofaux/32/1545_2.png) [@PromoFaux](https://discourse.pi-hole.net/u/PromoFaux)\
**Post date:** [January 2, 2020, 1:57pm UTC](https://discourse.pi-hole.net/t/dns-service-not-running/26488/9 "2020-01-02T13:57:19Z")

</div>

It's not possible for Pi-hole to be installed in WSL. I had _some_ success with WSL2 when I tried the preview, but that is not available generally yet.

Best bet for Windows would be to use the docker container.

---

<div class="post-metadata">

**Author:** ![system](https://discourse.pi-hole.net/uploads/default/original/3X/7/c/7c8792f649eeb921c5d2b4c41564ffa873d9a2b8.png) [@system](https://discourse.pi-hole.net/u/system)\
**Post date:** [January 24, 2020, 4:46am UTC](https://discourse.pi-hole.net/t/dns-service-not-running/26488/11 "2020-01-24T04:46:58Z")

</div>

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