Re:.localhost Domains
by codetrotter on Thursday April 10, 2025 @11:17AM
(#43644727)
In that case I would prefer naming as
So for example
And Iād probably still add
To /etc/hosts on that host like OP does
[ Parent
| on HN ]
Re:.localhost Domains
by nodesocket on Thursday April 10, 2025 @12:13PM
(#43645381)
I wrote a super basic DNS server in go (mostly fun and go practice) which allows you to specify hosts and ips in a json config file. This eliminates the need for editing your /etc/hosts file. If it matches a host in the json config file it returns that ip, else uses Cloudflare public DNS resolver as a fallback. Please; easy on my go code :-). I am a total beginner with go.