RITES India interview question

How does the DNS function?