Add DNS utility method. Add new SimplePipeInputFunction l