# Time-based DNS controls

**URL:** <https://discourse.pi-hole.net/t/time-based-dns-controls/44921>\
**Category:** Duplicate\
**Created:** [February 28, 2021, 10:25pm UTC](https://discourse.pi-hole.net/t/time-based-dns-controls/44921 "2021-02-28T22:25:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SLutz](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/slutz/32/18951_2.png) [@SLutz](https://discourse.pi-hole.net/u/SLutz)\
**Post date:** [February 28, 2021, 10:25pm UTC](https://discourse.pi-hole.net/t/time-based-dns-controls/44921/1 "2021-02-28T22:25:01Z")

</div>

First, I absolutely love Pi-hole and recommend it to all my pseudo-savvy friends!

I would love to see a parental-control type feature that allowed for a time-based dns sinkhole, with potentially an exclusion list.

For example, from 8:00 pm -\> 7 am, all queries are blocked, except for exclusion list items (security updates, etc).

---

<div class="post-metadata">

**Author:** ![asterisk](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/asterisk/32/23967_2.png) [@asterisk](https://discourse.pi-hole.net/u/asterisk)\
**Post date:** [March 1, 2021, 4:23pm UTC](https://discourse.pi-hole.net/t/time-based-dns-controls/44921/2 "2021-03-01T16:23:52Z")

</div>

It's not too fancy and requires some scripting but [here's what I do](https://discourse.pi-hole.net/t/how-i-implemented-parental-controls/44937).

---

<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:** [March 1, 2021, 4:49pm UTC](https://discourse.pi-hole.net/t/time-based-dns-controls/44921/3 "2021-03-01T16:49:45Z")

</div>

Thanks for your request. This is a duplicate of

> [@Timed DNS queries, block DNS based on time](https://discourse.pi-hole.net/t/timed-dns-queries-block-dns-based-on-time/3495):
>
> Hi pi-hole Firstly aplogies if I'm not doing this correctly Title timed DNS queries Block DNS based on time We have broadband which is limited during the day, and unlimited at night We currently block apple update servers all the time Would be helpful to have a special list call it a grey or yellow list Which would block always except for certain times I would propose having a general time setting and allowing domains to be turned on /off on the fly I am a developer so would be happy to…

Please vote over there.

---

<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:** [March 1, 2021, 4:49pm UTC](https://discourse.pi-hole.net/t/time-based-dns-controls/44921/4 "2021-03-01T16:49:56Z")

</div>


