jDev Studios

HostsDNS first release!

3rd Dec 2022

Hello World! It’s me again with a cool new release! This time, I’m releasing HostsDNS, a tool that allows you to share your /etc/hosts with other devices in your network (or outside, technically)!

Now, I know what you may be thinking: what is this useful for? Well, I got the answer: If you code using an iPad, for example, how are you supposed to have virtual domains for things like: myproject.local or api.testing.local? You just cannot, unless you use a custom DNS server.

HostsDNS is a DNS server that will answer only with the domains configured in a Linux or MacOS /etc/hosts file, but it will change any references to localhost with the IP address in the particular network you decide to start HostsDNS in. This allows for easy coding using a Raspberry Pi and iPad combo.

I do know this is a niche use case, and that most developers will never need this, but in case someone does need it, here it is! Well, as always, I hope you like this project and keep on tinkering!

Ainara Garcia

ainara.dev