This Drush extension provides simple commands for managing entries in /etc/hosts. From the project's help text:

$ drush hosts --help
Manage entries in /etc/hosts. (Requires sudo password)

Options:
 --fqdn                          A comma-delimited list of domain names. [...]
 --ip                            The IP address of the server or site.
 --purge                         Remove all entries in /etc/hosts [...]
 --remove                        Remove an IP address or domain(s).


Aliases: hs

Project information

  • caution Seeking co-maintainer(s)
    Maintainers are looking for help reviewing issues.
  • Module categories: Developer, Drush, Utility
  • Created by ergonlogic on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    Look for the shield icon below.

Releases