# Pi-hole

**URL:** <https://discuss.88.io/t/pi-hole/1308>\
**Category:** linux\
**Tags:** operation-node\
**Created:** [October 19, 2023, 10:02am UTC](https://discuss.88.io/t/pi-hole/1308 "2023-10-19T10:02:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![admin](https://discuss.88.io/user_avatar/discuss.88.io/admin/32/38_2.png) [@admin](https://discuss.88.io/u/admin)\
**Post date:** [October 19, 2023, 10:02am UTC](https://discuss.88.io/t/pi-hole/1308/1 "2023-10-19T10:02:38Z")

</div>

# Introduction

Both [Pi-hole](https://github.com/pi-hole/pi-hole) and [Adguard Home](https://github.com/AdguardTeam/AdGuardHome) are supported open source solution for providing first level DNS and DHCP function to Area Mesh.

Some Pi-hole advantages over Adguard Home

- Group Management - [Redirecting...](https://docs.pi-hole.net/database/gravity/groups/)
- Not Commercial - [Buy license | AdGuard](https://adguard.com/en/license.html)
- Difficult Logs - [How to access the query logs · AdguardTeam/AdGuardHome · Discussion #5653 · GitHub](https://github.com/AdguardTeam/AdGuardHome/discussions/5653)

---

<div class="post-metadata">

**Author:** ![admin](https://discuss.88.io/user_avatar/discuss.88.io/admin/32/38_2.png) [@admin](https://discuss.88.io/u/admin)\
**Post date:** [January 19, 2024, 3:45am UTC](https://discuss.88.io/t/pi-hole/1308/2 "2024-01-19T03:45:57Z")

</div>

# Pi-hole

Web SIte: [https://pi-hole.net/](https://pi-hole.net/)  
Documentation: [https://docs.pi-hole.net/](https://docs.pi-hole.net/)  
Forum: [https://discourse.pi-hole.net/](https://discourse.pi-hole.net/)  
Source: [GitHub - pi-hole/pi-hole: A black hole for Internet advertisements](https://github.com/pi-hole/pi-hole)

## Restarting

After configuration change  
`pihole restartdns`

## MAC Address Filtering

In the file  
`/etc/dnsmasq.d/03-custom-DHCP.conf`

Insert the following lines

```auto
dhcp-ignore=tag:!known
dhcp-host=11:22:33:44:55:66,set:known
dhcp-host=11:22:33:44:55:66,set:known

```

Reference:

- [DHCP server MAC-address filtering - Help - Pi-hole Userspace](https://discourse.pi-hole.net/t/dhcp-server-mac-address-filtering/19310)

---

<div class="post-metadata">

**Author:** ![admin](https://discuss.88.io/user_avatar/discuss.88.io/admin/32/38_2.png) [@admin](https://discuss.88.io/u/admin)\
**Post date:** [January 1, 2025, 9:03pm UTC](https://discuss.88.io/t/pi-hole/1308/3 "2025-01-01T21:03:14Z")

</div>

# DNS over HTTPS

- [Can PiHole act as a DoH or DoT server? - Customizing Pi-hole - Pi-hole Userspace](https://discourse.pi-hole.net/t/can-pihole-act-as-a-doh-or-dot-server/56106)
- [How to identify clients when using DNS-over-HTTPS (thru doh-proxy) - General - Pi-hole Userspace](https://discourse.pi-hole.net/t/how-to-identify-clients-when-using-dns-over-https-thru-doh-proxy/72301)
- [Run a DNS-over-HTTPS (DoH) server & pihole's web admin on the same (default) SSL port while still identifying DoH clients - Community How-to's - Pi-hole Userspace](https://discourse.pi-hole.net/t/run-a-dns-over-https-doh-server-piholes-web-admin-on-the-same-default-ssl-port-while-still-identifying-doh-clients/72428)

## DOH Proxies

- [GitHub - DNSCrypt/doh-server: Fast, mature, secure DoH and ODoH server proxy written in Rust. Previously known as doh-proxy and rust-doh.](https://github.com/DNSCrypt/doh-server)
- [GitHub - DNSCrypt/dnscrypt-proxy: dnscrypt-proxy 2 - A flexible DNS proxy, with support for encrypted DNS protocols.](https://github.com/DNSCrypt/dnscrypt-proxy)
- [GitHub - cuddlyclara/SimpleDoHServer: Very simple DoH server based on Python 3, which passes the client IP via ECS.](https://github.com/cuddlyclara/SimpleDoHServer)

## Certificate Authority

DOH needs a Certificate Authority (CA) this might help:

> **[GitHub - FiloSottile/mkcert: A simple zero-config tool to make locally trusted...](https://github.com/FiloSottile/mkcert)**
>
> A simple zero-config tool to make locally trusted development certificates with any names you'd like.
