# Possible to exclude device from PiHole?

**URL:** <https://discourse.pi-hole.net/t/possible-to-exclude-device-from-pihole/56527>\
**Category:** Help\
**Created:** [July 13, 2022, 5:44am UTC](https://discourse.pi-hole.net/t/possible-to-exclude-device-from-pihole/56527 "2022-07-13T05:44:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jfb](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jfb/32/4332_2.png) [@jfb](https://discourse.pi-hole.net/u/jfb)\
**Post date:** [July 13, 2022, 4:26pm UTC](https://discourse.pi-hole.net/t/possible-to-exclude-device-from-pihole/56527/2 "2022-07-13T16:26:04Z")

</div>

**Fourth option** - use Pi-hole as your DHCP server, and use a dnsmasq configuration file to assign that specific client a different DNS server.

> [@How can I use Pi-hole for all my devices except one (or more)?](https://discourse.pi-hole.net/t/how-can-i-use-pi-hole-for-all-my-devices-except-one-or-more/3372):
>
> [Configuring your router's DHCP options to force clients to use Pi-hole as their DNS server](https://discourse.pi-hole.net/t/how-do-i-configure-my-devices-to-use-pi-hole-as-their-dns-server/245) is the quickest way to get all of your network devices to use Pi-hole. But what if you want a certain device to not use it? Perhaps a family member is frustrated with [white or blacklisting sites](https://discourse.pi-hole.net/t/how-do-i-whitelist-or-blacklist-a-domain/244). Or maybe you want to log queries for all network devices except for a few. Solution The solution is to [manually set the DNS server](https://developers.google.com/speed/public-dns/docs/using#change_your_dns_servers_settings) to on the device you don't want to use Pi-hole with. Setting the DNS server o…

**Fifth option** - if the work machine has a VPN, use that. The DNS for that client will go through the VPN and not your local network.

---

_[View the full topic](https://discourse.pi-hole.net/t/possible-to-exclude-device-from-pihole/56527)._
