Damus
GNU/翠星石 profile picture
GNU/翠星石
@nprofile1q... @nprofile1q... DNS does not have any concept of URLs.

It has a concept of domains and records for that domain.

DNS is basically a shared /etc/hosts file, although there are different record types.

There can be an single A record for IPv4, or multiple on a FQDN; dig A «www.domain.com» or even a not fully qualified domain (without a subdomin); dig A «domain.com»

There is also AAAA records for IPv6 addresses; dig AAAA «www.domain.com»

There's also TXT records; dig TXT «www.domain.com»

and MX records for mail; dig MX «www.domain.com»

CNAME records for mapping domains to other domains; dig CNAME «www.domain.com»

and there's also sometimes CAA records; dig CAA «www.domain.com»