G-Research interview question

How does DNS work?