DNS was introduced when a centrally managed /etc/hosts file was no longer feasible, it was a simple solution to a problem that fairly few people (mostly computer researchers) had. It solved the problem and not much more.
Computers weren't mainstream when DNS was invented.
Computers weren't mainstream when DNS was invented.