Set domains from file (silently):
sudo hostess -s apply <.json file>
Details
The JSON format should be something like:[ { "domain": "localhost", "ip": "127.0.0.1", "enabled": true }, ... ]
Clean up (silently):
sudo hostess -s fix
Add domain:
sudo hostess add <domain name> <ip address>