make the following directory
mkdir /Users/boyouzho/dns-config
mkdir /Users/boyouzho/dns-config/passwords
mkdir /Users/boyouzho/dns-config/configs
Here are the commands to run the yml docker file.
docker compose up -d
docker compose down
docker image rm technitium/dns-server
docker compose up -d
add the line here to the file /etc/hosts
127.0.0.1 boyou.home.local
go to 127.0.0.1:5380 and then change the password for the dns server
go to settings and enable https
go to settings and go to optional protocals, enable dns-over-https
enable cloudflare dns over https in "proxy & forwarders" under settings