Working DNS client and server