假設DNS服務器的IP地址是202.107.204.10,使用下面命令即可查詢: dig @202.107.204.10 txt chaos version.bind 輸出結果為: ; <<>> DiG 9.2.1 <<>> @202.107.204.10 txt chaos version.bind ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41400 ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;version.bind. CH TXT ;; ANSWER SECTION: version.bind. 0 CH TXT "9.2.4rc6" ;; Query time: 3 msec ;; SERVER: 202.107.204.10#53(202.107.204.10) ;; WHEN: Fri Jun 3 11:53:05 2005 ;; MSG SIZE rcvd: 51 注:一般DNS服務管理員會修改BIND的版本號,此命令只適用於簡單的查詢,目的是讓大家更多的了解dig。