Nice-to-have: interact with hosts file as database

From razwiki
Jump to navigation Jump to search

Nice to have a cli, something like resolve 192.168.33.10 vagrant.local

and a way to query it

though it's actually nice to be able to edit / view it as a file. Better for scripting though... those annoying edits like "# ADDED BY VIRTUALBOX ON ..." and then the content, I'd rather not.