A study of dog DNA patterns shows that our “best friend” among animals is also our oldest one.