What version of bind are you running?

If you are running a name server, chances are it’s bind (Berkeley
Internet Name Domain) which implements the Domain Name System (DNS) protocols.
Normally, the executable is called named. For more information on bind,
see the bind home page at http://www.isc.org/products/BIND/.

I
found this little gem whilst idling in undernet’s #freebsd IRC channel. It’s a quick
way of finding out what version of bind you are running without having to restart
bind.

Listing the zone files (added on 20 May 2000)

Alex Root wrote in to say this:

I dont know if this has anything to do with "bind" itself. but when you type
nslookup then type: ls -d domain.com it will show you the zone file for that domain.
I’m not sure but I ‘think’ this only works if the domain is hosted on your
nameserver. If it’s not, you can type : server ns.of-domain.com then ls -d
domain.com and it should show you the zone files. Try it out