Display All Domains on Nameserver

I've seen here that people posted scripts that would take a DNS server and list all the domains that it was authoritive for. What command is this? I cannot find any information about this on the internet anywhere. Is there a way I can do this with nslookup? the only think i have figured out so far is ls -d domain.com to list all the cname or a name records with one domain. I want to do something similar to the script that list all the domains on the DNS server. How do these scripts work? Is it something I can do with nslookup?

 

 

 

 

Top