DNS describes the structure of resources on the internet. It can provide lots of valuable information about (attacker or target)…