# Using Pi-Hole as secondary dns server

**URL:** <https://discourse.pi-hole.net/t/using-pi-hole-as-secondary-dns-server/43996>\
**Category:** Community Help\
**Created:** [February 5, 2021, 2:24am UTC](https://discourse.pi-hole.net/t/using-pi-hole-as-secondary-dns-server/43996 "2021-02-05T02:24:29Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![yubiuser](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/yubiuser/32/12100_2.png) [@yubiuser](https://discourse.pi-hole.net/u/yubiuser)\
**Post date:** [February 5, 2021, 5:48am UTC](https://discourse.pi-hole.net/t/using-pi-hole-as-secondary-dns-server/43996/3 "2021-02-05T05:48:24Z")

</div>

> [@bergeron\_martin](#):
>
> End-user machine --\> AD DNS --\> Pi-Hole.

If you can setup your AD to support ECS Pi-hole might be able to

> [@bergeron\_martin](#):
>
> valuate the actual source of the request and apply the correct group membership

> [@Support for add-subnet option from dnsmasq (ECS/EDNS0 Client Subnet)](https://discourse.pi-hole.net/t/support-for-add-subnet-option-from-dnsmasq-ecs-edns0-client-subnet/35940):
>
> The ask: Add support within FTLDNS for parsing the IP address/subnet passed from another dnsmasq client via add-subnet=32,128 and potentially add-mac. Asking that FTLDNS support parsing of ECS (EDNS0 Client Subnet) data from an inbound query on the requesting side. The reasoning: I have an OpenWrt router running dnsmasq for my three client subnets. It forwards queries to my Pi-hole server, which is running on a separate VM. Traditionally, the recommendation by many in the Pi-hole community is …

---

_[View the full topic](https://discourse.pi-hole.net/t/using-pi-hole-as-secondary-dns-server/43996)._
