A text message scam has prompted a warning from the Connecticut Department of Motor Vehicles.