hostess
Manage the /etc/hosts file. tldr-pages
On several platforms
Several platforms
List domains, target IP addresses, and on/off status
hostess listIdentifyAdd a domain pointing to your machine to your hosts file
hostess add local.example.com 127.0.0.1IdentifyRemove a domain from your hosts file
hostess del local.example.comIdentifyDisable a domain (but don't remove it)
hostess off local.example.comIdentify