23 Apr The fix for Windows machines going to sleep for no reason
I started hosting photos on my home server to de-Google. It was an interesting experience overall, which included setting up a DNS server and fiddling with Wake on Wireless LAN. I'll explain the process below, and finally touch upon the fix for an annoying problem I encountered where the server would go to sleep for seemingly no reason.
I already had [PIVPN](https://www.pivpn.io/) installed on my Raspberry Pi. From there, I set up a DNS server so I could point photos.local to an IP address within the network. I had a choice between `dnsmasq` and `Bind9` for the server, and I chose `Bind9` because it seemed like the more "correct" choice. Digital Ocean [explains](https://www.digitalocean.com/community/tutorials/how-to-configure-bind-as-a-private-network-dns-server-on-ubuntu-18-04) the setup well.
continue reading