Here are two queries:

desktop% dig

; <<>> DiG 8.3 <<>>
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 4
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;;, type = A, class = IN

;; Total query time: 66 msec
;; FROM: to SERVER: default --
;; WHEN: Fri Oct 24 14:02:39 2008
;; MSG SIZE sent: 31 rcvd: 31

desktop% host
Host not found: 3(NXDOMAIN)

When I do a "dig" and the result is SERVFAIL is there a way to determine
exactly what is causing the SERVFAIL? I looked in the query.c source,
and I see that there are a number of cases that result in SERVFAIL.

Note that the "host" command returns NXDOMAIN. I have not looked at
the source for "host". Is that command converting SERVFAIL to
NXDOMAIN, or can the "host" command produce a SERVFAIL response?
Barry S. Finkel
Computing and Information Systems Division
Argonne National Laboratory Phone: +1 (630) 252-7277
9700 South Cass Avenue Facsimile:+1 (630) 252-4601
Building 222, Room D209 Internet:
Argonne, IL 60439-4828 IBMMAIL: I1004994