# Default content of hosts files

**URL:** https://discourse.pi-hole.net/t/default-content-of-hosts-files/56671
**Category:** General
**Created:** [July 20, 2022, 12:42pm UTC](https://discourse.pi-hole.net/t/default-content-of-hosts-files/56671 "2022-07-20T12:42:26Z")
**Posts on this page:** 1
**Showing post:** 15

<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 22, 2022, 1:18pm UTC](https://discourse.pi-hole.net/t/default-content-of-hosts-files/56671/15 "2022-07-22T13:18:45Z")

</div>

> [@Valiceemo](#):
>
> Or is there a dnsmasq trick?

Use Pi-hole as your DHCP server and use a dnsmasq configuration to assign this client a separate 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…

---

_[View the full topic](https://discourse.pi-hole.net/t/default-content-of-hosts-files/56671)._
