register dns and site on start and deregister on stop