Yes i know but just using NextDNS is way more convenient and less expensive (especially when a raspberry pi computers are 100€ and above in your area...)
I just use a DigitalOcean VPS. $6+tax a month, plus some other self-hosted services. Don't have to worry about being connected to home or buying a Pi. Still may be more expensive, but not by much (only $4-$6 more expensive depending on how much you use the internet), but this also allows you to setup your own DNS if you want as well.