added functionality to break down dns and sent it to clients