Amazon interview question

How DNS query works .