Nslookup vs host vs dig

The well-known command nslookup is now obsolete and replaced by the commands host and dig. Let's see how to perform the most common tasks with all of them: