Step 2: Configure home router to send _all_ port 53 (DNS traffic) to the pihole
Step 3: Run cronjob on the pihole to disable fortnite completely at whatever times you want, e.g., turn off access every week night at 7:30pm, then back on overnight:
30 19 * * 0-4 /home/pi/pihole_timed_lists/turn_blacklist_on >> /home/pi/pihole_timed_lists/log/turn_blocklist_on.log 2>&1
0 1 * * 1-5 /home/pi/pihole_timed_lists/turn_blacklist_off >> /home/pi/pihole_timed_lists/log/turn_blocklist_off.log 2>&1
The turn_blacklist_on script can be as simple as:
/usr/local/bin/pihole --wild epicgames.com easy.ac easyanticheat.net xboxlive.com microsoft.com
And then the turn blacklist off can be:
/usr/local/bin/pihole --wild -d epicgames.com easy.ac easyanticheat.net xboxlive.com microsoft.com
Works like a charm, and handles PC + XBox access. Kids know it stops dead at 7:30, so no arguments.
[edited for spelling]