Why this is not “every domain on Earth”
There is no public DNS query that lists every zone a nameserver is authoritative for. Commercial reverse-NS databases are built from historical crawls. DNSFetch indexes nameservers from WHOIS/RDAP lookups performed here, then lets you search that index. The more the site is used, the more complete this list becomes.