Free Hosting Online for WorkStations

< Previous | Contents | Next >

3.1.2. dig‌


If you installed the dnsutils package you can test your setup using the DNS lookup utility dig:

• After installing BIND9 use dig against the loopback interface to make sure it is listening on port 53. From a terminal prompt:


dig -x 127.0.0.1


You should see lines similar to the following in the command output:


;; Query time: 1 msec

;; SERVER: 192.168.1.10#53(192.168.1.10)

• If you have configured BIND9 as a Caching nameserver "dig" an outside domain to check the query time:


dig ubuntu.com


Note the query time toward the end of the command output:


;; Query time: 49 msec


After a second dig there should be improvement:


;; Query time: 1 msec


Top OS Cloud Computing at OnWorks: