phase2 / rig

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

Feature/save dns records to hosts #172

Open dnmurray opened 6 years ago

dnmurray commented 6 years ago

Unix only so far. Need to do some research to support Windows (and someone to test).

febbraro commented 6 years ago

On Windows the file is C:\Windows\System32\drivers\etc\hosts

febbraro commented 6 years ago

The other thing that comes to mind here is how many people may get hung up because they have entries in their hosts files that they haven't removed. Maybe add a doctor check for DNS entries in /etc/hosts and let the user know that? Or do you think this is really a non issue?

dnmurray commented 6 years ago

I can add a check that the rows are there. It's easy enough to look for, since I'm using the pre/postamble. If you do a --save and the rows are already they, they get removed and recreated.

dnmurray commented 6 years ago

Can this be tagged "In Progress". Adding Windows support.

febbraro commented 6 years ago

This has a bunch of merges in it. Do you need to rebase on develop?