@Zastoff
Want to keep my son off Youtube, Netflix, etc after hours (10 pm school days 11 pm weekends). I set up OpenDNS Home to block those. Daytime, it will run through Cloudfare, which should allow those. Nighttime, it will run through OpenDNS which should block those.
I used your example as a model to set the DNSFilter on his devices to Custom3.
I modified it to run every hour instead of just the beginning of the time range. My thinking was that if I rebooted my router, it would take up to 24 hours to "catch up" but this way, it will take up to 60 minutes to catch up.
Being a noob at this, do you see any issue with what I did:
1) Did I do it correctly
2) Any issue running these every hour (will it overload or break something potentially)
3) Other
Thanks
---------------------------------
#Change to Cloudfare in DNS-Filter custom3 (8:00am - 9:59pm M-F) (7:00am 10:59pm Sat-Sun)
cru a Cloudfare "00 08-21 * * 1-5 nvram set dnsfilter_custom3=1.1.1.1 && nvram commit"
cru a Cloudfare2 "00 07-22 * * 6-7 nvram set dnsfilter_custom3=1.1.1.1 && nvram commit"
#Change to OpenDNS in DNS-Filter custom3 (10:00pm - 7:59am M-F) (11:00pm 6:59am Sat-Sun)
cru a OpenDNS "00 22-07 * * 1-5 nvram set dnsfilter_custom3=208.67.222.222 && nvram commit"
cru a OpenDNS2 "00 23-06 * * 6-7 nvram set dnsfilter_custom3=208.67.222.222 && nvram commit"
#Update DNSmasq (2 min after hour)
cru a UpdateDNS1 "02 * * * * service restart_firewall;restart_dnsmasq"