# Per mac address DNS forward

**URL:** https://discourse.pi-hole.net/t/per-mac-address-dns-forward/8710
**Category:** Feature Requests
**Created:** [April 8, 2018, 10:11am UTC](https://discourse.pi-hole.net/t/per-mac-address-dns-forward/8710 "2018-04-08T10:11:02Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Xusquk](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/x/c4cdca/32.png) [@Xusquk](https://discourse.pi-hole.net/u/Xusquk)
#### Post date: [April 8, 2018, 10:11am UTC](https://discourse.pi-hole.net/t/per-mac-address-dns-forward/8710/1 "2018-04-08T10:11:03Z")

</div>

I think it would be interesting, in order to have implemented parental control to forward DNS queries to some DNS servers or others depending on the MAC address, so I can send my children's devices to OpenDNS servers and my own computer, for instance, to google, Microsoft or whatever.

This way Pi-hole would work also as a parental control device.

Thank you very much!

---

<div class="post-metadata">

### Author: ![Tntdruid](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/tntdruid/32/773_2.png) [@Tntdruid](https://discourse.pi-hole.net/u/Tntdruid)
#### Post date: [April 8, 2018, 12:41pm UTC](https://discourse.pi-hole.net/t/per-mac-address-dns-forward/8710/2 "2018-04-08T12:41:27Z")

</div>

You can do that whit:

make a /etc/dnsmasq.d/mydnsstuff.conf

dhcp-option=tag:nopie,option:dns-server,208.67.222.222,208.67.220.220

dhcp-host=xx:xx:xx:xx:xx:xx,set:nopie,MyHostname

Replace xx:xx:xx:xx:xx:xx whit the mac adress

---

<div class="post-metadata">

### Author: ![Mcat12](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/mcat12/32/20_2.png) [@Mcat12](https://discourse.pi-hole.net/u/Mcat12)
#### Post date: [April 9, 2018, 12:53am UTC](https://discourse.pi-hole.net/t/per-mac-address-dns-forward/8710/3 "2018-04-09T00:53:21Z")

</div>

Note that this requires you to be using Pi-hole as your DHCP server.

---

<div class="post-metadata">

### Author: ![Xusquk](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/x/c4cdca/32.png) [@Xusquk](https://discourse.pi-hole.net/u/Xusquk)
#### Post date: [April 10, 2018, 2:43pm UTC](https://discourse.pi-hole.net/t/per-mac-address-dns-forward/8710/4 "2018-04-10T14:43:37Z")

</div>

Mmm... interesting. Will try to do that to see if it works. Anyway, it would be interesting implement via GUI.

Thank you very much!
