Morgan Stanley Interview Question

How does DNS work?