bin/sign: Allow domain to be set in the hosts file.