add dns service and karma/mocha testing