# How do I install Pi-hole on a Synology NAS?

**URL:** https://discourse.pi-hole.net/t/how-do-i-install-pi-hole-on-a-synology-nas/289
**Category:** Synology
**Created:** [October 20, 2016, 5:06pm UTC](https://discourse.pi-hole.net/t/how-do-i-install-pi-hole-on-a-synology-nas/289 "2016-10-20T17:06:29Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![bakman2](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/bakman2/32/1922_2.png) [@bakman2](https://discourse.pi-hole.net/u/bakman2)
#### Post date: [October 22, 2016, 7:07am UTC](https://discourse.pi-hole.net/t/how-do-i-install-pi-hole-on-a-synology-nas/289/3 "2016-10-22T07:07:52Z")

</div>

Strange. First thing is to check if it is actually working, on commandline in chroot:

```
head /var/log/pihole.log

```

You should see something similar to:

```
Oct 20 17:37:32 dnsmasq[21330]: started, version 2.72 cachesize 10000
Oct 20 17:37:32 dnsmasq[21330]: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect
Oct 20 17:37:32 dnsmasq[21330]: warning: ignoring resolv-file flag because no-resolv is set
Oct 20 17:37:32 dnsmasq[21330]: using nameserver 4.2.2.2#53
Oct 20 17:37:32 dnsmasq[21330]: using nameserver 4.2.2.1#53
Oct 20 17:37:32 dnsmasq[21330]: read /etc/hosts - 3 addresses
Oct 20 17:37:32 dnsmasq[21330]: bad name at /etc/pihole/gravity.list line 29670
Oct 20 17:37:32 dnsmasq[21330]: bad name at /etc/pihole/gravity.list line 100224
Oct 20 17:37:32 dnsmasq[21330]: read /etc/pihole/gravity.list - 100224 addresses

```

if not, you may need to restart dnsmasq, while in chroot:

```
service dnsmasq restart

```

On your laptop do a `nslookup google.com` - verify that it the server that responds is the pi-hole ip.  
If not, back in chroot, install pi-hole once again:

```
curl -L https://install.pi-hole.net | bash

```

after that restart both the webserver and dnsmasq again

```
service dnsmasq restart
service lighttpd restart   

```

check the log once again

```
head /var/log/pihole.log

```

this is as far as I can take you 👶

---

_[View the full topic](https://discourse.pi-hole.net/t/how-do-i-install-pi-hole-on-a-synology-nas/289)._
