DO Ideas 2

Automatic entries for /etc/hosts from droplet names

I often find myself associating droplet names with their IPs by including them in the /etc/hosts file on my Linux desktop. This is also useful on the servers themselves. Nobody likes remembering IPs.

Generating a few lines from droplet IP + name for /etc/hosts shouldn't be too hard.

  • Eduard Urbach (エド)
  • Sep 11 2018
  • Attach files