A simple but very good solution, if you can find one, is the Arcam rPlay. It's been discontinued but available on ebay and other places. I have one plugged into my router that works extremely well taking streaming from an iTunes database on an iMac, Spotify and Apple Music HD and passing it on to my DAC. Another option might be the Google Chromecast Audio, also discontinued but available on ebay. I have one and it works well but haven't used it enough to know it very well. Here's a review comparing the rPlay to the Bluesound Node 2.
https://www.whathifi.com/features/arcam-rplay-vs-bluesound-node-2-which-better
https://www.whathifi.com/features/arcam-rplay-vs-bluesound-node-2-which-better