Adapted to skydns v2 with etcd