gravitl / netclient

Apache License 2.0
67 stars 32 forks source link

Windows /etc/hosts DNS Aliasing Broken? #638

Open Ishfal opened 11 months ago

Ishfal commented 11 months ago

Previously, when I added a DNS entry on Netmaker, it would add it as a new hostname in the /etc/hosts file even if there was already a hostname mapped to that IP. This allowed for e.g. pairing with an Nginx reverse proxy to map various hostnames to services on the same server.

Sometime between 0.20.0 and 0.21.2, this appears to have changed. Now, adding a new DNS entry on Netmaker will replace any existing for that same IP.

cdpb commented 11 months ago

Same happens to Linux /etc/hosts and netclient v0.21.2

Davam1r commented 5 months ago

Using /etc/hosts was removed from netclient in v0.22.0