This is known because DNA genome analysis has been done to discover this. They have been bred by humans. The earliest known fossil of a domestic dog is from 31,700 years ago in Belgium. Dogs have lived with people for at least 30,000 years.