DIG is a tool that ships with BIND (the most popular DNS server package). It allows someone to construct test queries against a DNS server. It is very useful in debugging problems on a DNS server.
In particular, the command: dig -t txt -c chaos VERSION.BIND @ns1.example.com will query the version number of the BIND software running on ns1.example.com.