ok that worked.
For others who might need more explicit directions
- In your github account fork https://github.com/danlsgiga/tls.dns
- Rather than pull down change/commit and push you can edit the file in place in your browser
https://github.com/<username>/tls.dns/blob/master/go.mod - Edit the first line replacing caddyserver with your github username
- At the bottom set a commit message and save
- Go to repo main page and click on commits. Find your last commit and click on the copy the commit hash stamp.
- then with xcaddy use
--with github.com/<your-username>/tls.dns@<commit-hash>pasting in the commit-hash from step 5
I’m guessing this should work for anyone wanting to try a plugin/module that has yet to be merged into the caddy source.