# How can I use Pi-hole for all my devices except one (or more)?

**URL:** <https://discourse.pi-hole.net/t/how-can-i-use-pi-hole-for-all-my-devices-except-one-or-more/3372>\
**Category:** FAQs\
**Created:** [May 26, 2017, 2:17pm UTC](https://discourse.pi-hole.net/t/how-can-i-use-pi-hole-for-all-my-devices-except-one-or-more/3372 "2017-05-26T14:17:43Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![spiff72](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/s/919ad9/32.png) [@spiff72](https://discourse.pi-hole.net/u/spiff72)\
**Post date:** [March 12, 2019, 12:38am UTC](https://discourse.pi-hole.net/t/how-can-i-use-pi-hole-for-all-my-devices-except-one-or-more/3372/8 "2019-03-12T00:38:32Z")

</div>

OK - I thought I saw that in another thread here, where you could run the following to restart the service:  
`sudo systemct start pihole-FTL.service`  
(specifically it was this thread):

> [@Use DNS to force youtube into restricted mode - and Pi-Hole](https://discourse.pi-hole.net/t/use-dns-to-force-youtube-into-restricted-mode-and-pi-hole/1996/23):
>
> I've never tested the script with duckduckgo, this was added later by @picante [here](https://discourse.pi-hole.net/t/use-dns-to-force-youtube-into-restricted-mode-and-pi-hole/1996/19). The script can't handle the output from dig, hence, the error message. I've modified the script (I'm NOT a script guru, there might be a better way). Here is the summary of things you need to have, in order for this to work. Modify /etc/hosts, it should contain: # restricted youtube, bing, google and duckduckgo search 216.239.38.120 restrict.youtube.com 216.239.38.119 restrictmoderate.youtube.com 216.239.38.…

I tried running that command after saving the file quoted above as /etc/dnsmasq.d/04-bypass.conf, but it stated systemct isn't found either. Do i need to install that command on the pi?

I am running the commands via an ssh terminal connection from my Ubuntu laptop to the pi.

EDIT: I fixed the name I typed above for the filename (04-bypass.conf) - I forgot the zero.

---

_[View the full topic](https://discourse.pi-hole.net/t/how-can-i-use-pi-hole-for-all-my-devices-except-one-or-more/3372)._
