Global Relay interview question

How does DNS work (textbook)