This is about the script originally written for https://github.com/ryuheechul/dotfiles/commit/1c5795d4e69ad7ad8c191e3e96fe43155522739a#diff-4f848b5499b37dbeb494a252ab49d56831abb5b12dbd362ab5182f509f7ad97b
the script is pretty short and relatively simple, so I recommend you to read it but the gist is below
- get necessary details regarding (your already configured) zerotier network interface and running DNS server
- configure DNS routing via
resolvectl
forsystemd-resolved
with the parse information from the previous step - (now resolving to FQDN (e.g.
host device.home.arpa
) should work as well as search domain (e.g.host device
) - (unfortunately the change doesn't last after a reboot - so I'm looking into a way to resolve this)