In the old days, there were other directory services, but they didn't scale well or were slow and non-distributed.
DNS is a distributed database that provides several services. Companies have added features, but the services are pretty stock:
A record, name to IP address.
PTR record, the reverse. IP address to name.
CNAME record, an alias. Name alias to another name.
MX record. Mail routing record.
NS record. Nameserver, says who is in charge of a domain.
AAAA record. IPv6 address record.
SOA record. Defines owner and some parameters for a domain.
TXT record. Simple TXT record.
There are others, but these are the major ones.