Water recycling system for drilling