dnsip prints each result on a separate line.
Normally dnsip exits 0. If dnsip encounters a temporary problem that prevents it from determining the list of IP addresses, it prints an error message and exits 111. The same comments apply to the other programs described here.
http://cr.yp.to/djbdns.html