@deavmi #UnixSocket is more performant but you will need to use a proxy container. If you're interested how I made it work, check my github page.
https://github.com/madnuttah/unbound-docker/blob/main/doc/DETAILS.md#cachedb-redis
#redis, #pihole and #unbound. The holy trinity.
Oops, there's a code block off I see.