I am showing this demo with inbuilt tools in your OS (nslookup) and who.
is This is a information gathering/enumeration technique for pentesters / bug bounty hunters and anyone who is interested in security security
Zone transfer is the process of copying the contents of the zone file on a primary DNS server to a secondary DNS server. This is needed for redundancy. There are several zone transfer methods but the most common one uses the AXFR protocol.