Appends posted hostnames to a list. Built to allow AWS instances to register themselves.