Microsoft interview question

How does DNS work and what are the various record types