this post was submitted on 06 Jul 2023
5 points (100.0% liked)

Programming

13418 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

In many projects, you might have custom DNS entries, for example for your development environment, or because something is prototype without a real DNS entry yet, or simply for convenience to not remember weird IP addresses.

Currently, these special domains might be used in the configuration of a project (say, the DB server is db1.acme.local), and that's version controlled and everything, but creating the actual DNS entry (in the hosts file for example) is still manual and therefore error prone.

Has anyone figured out a nice solution to this? Or do you all have super quick IT departments that'll give you real domains instantly?^^

you are viewing a single comment's thread
view the rest of the comments
[–] Scary_le_Poo 1 points 2 years ago

Set up a pihole and then when you want to add a new address, just do it in the front end. You can run it on your desktop for example. As a bonus action, you get the benefits of having a pihole!

https://github.com/DesktopECHO/Pi-Hole-for-WSL1

This is by far the easiest and most simple solution