G-Research Interview Question

How does DNS work?