Wikipedia explains the DNS resolution, assuming everyody uses RFC 7816 :-) https://en.wikipedia.org/wiki/Root_name_server#Resolver_operation "A resolver breaks the name up into its labels from right to left. The first component (TLD) is queried using a root server to obtain the responsible authoritative server."