A very approximate scheme of how DNS works

 

v20240901