phase2 / rig

Outrigger command line tool
MIT License
11 stars 8 forks source link

Automate the addition of dns-records to hosts file #20

Open febbraro opened 7 years ago

febbraro commented 7 years ago

Outrigger DNS has a number of cases where it will not work:

As a workaround for these issues, we'd like to support easy management of the local hosts file.

rig dns-records --install (or perhaps --save) should inject the output of that command to /etc/hosts and the Windows equivalent.

HELP WANTED This issue is a great opportunity to learn Golang, the contribution workflow of rig, and incidentally improve rig!

Notes

Testing

febbraro commented 7 years ago

Possibly just add a "--save" or "--remove" to the command to help manage it?

grayside commented 7 years ago

EDIT: Rolled up the relevant parts of this comment into a summary rewrite for new contributors.

dnmurray commented 6 years ago

unix only, so far: https://github.com/phase2/rig/pull/172