In DNS (Domain Name System), zone transfer is the process of copying the entire DNS zone file from one DNS server to another. It is used to keep multiple DNS servers in sync with each other and to provide redundancy and load balancing for DNS queries.
The "dig" tool is a command-line DNS lookup utility that can be used to perform various DNS queries, including zone transfers. The AXFR (short for "Authoritative Transfer") query type can be used with the "dig" tool to request a zone transfer of a specific domain from the authoritative DNS server for that domain. Here's an example command to perform a zone transfer using AXFR with "dig":
dig example.com AXFR
This command will send a zone transfer request to the authoritative DNS server for the "example.com" domain. If the DNS server allows zone transfers for the specified domain, it will respond with the entire zone file for that domain, which can be quite large. The output of the "dig" command will display the zone file in a human-readable format.
There website vulnerable with this to test Called zonetransfer.me
So , Firstly make dig for this website

Then make dig AXFR to find Zone Trasnfer

We can do zone transfer Using dnsrecon with this syntax
dnsrecon -d [zonetransfer.me](<http://zonetransfer.me>) -t axfr
1- using Google Dorks :
site:microsoft.com -www.microsoft.com

2- Using TheHarvester tool
Theharvester tool automate the google dorks
syntax like this → theharvester -d target.com -b search engines to search
example : theharvester -d microsoft.ocm -b google,bing,yahoo,netcraft,virustotal