REST API for DNS