registry hostname
reuse etcdClient in both daemon and cmdline