Uhh, sorry about that. The corrected output is:
dig 'wanderer-3' @172.16.2.5
; <<>> DiG 9.4.3-P1 <<>> wanderer-3 @172.16.2.5
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 43104
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;wanderer-3. IN A
;; Query time: 40 msec
;; SERVER: 172.16.2.5#53(172.16.2.5)
;; WHEN: Mon May 18 15:43:22 2009
;; MSG SIZE rcvd: 28
dig 'wanderer-3' @172.18.82.11
; <<>> DiG 9.4.3-P1 <<>> wanderer-3 @172.18.82.11
;; global options: printcmd
;; connection timed out; no servers could be reached
dig 'wanderer-3' @4.2.2.2
; <<>> DiG 9.4.3-P1 <<>> wanderer-3 @4.2.2.2
;; global options: printcmd
;; connection timed out; no servers could be reached
dig `hostname -s` @172.16.2.5
; <<>> DiG 9.4.3-P1 <<>> wanderer-3 @172.16.2.5
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 10644
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;wanderer-3. IN A
;; Query time: 52 msec
;; SERVER: 172.16.2.5#53(172.16.2.5)
;; WHEN: Mon May 18 15:47:52 2009
;; MSG SIZE rcvd: 28
dig `hostname -s` @172.18.82.11
; <<>> DiG 9.4.3-P1 <<>> wanderer-3 @172.18.82.11
;; global options: printcmd
;; connection timed out; no servers could be reached
dig `hostname -s` @4.2.2.2
; <<>> DiG 9.4.3-P1 <<>> wanderer-3 @4.2.2.2
;; global options: printcmd
;; connection timed out; no servers could be reached
Kevin Van Vechten wrote:
The scutil --dns output shows that you don't have any search domains
configured. So we would expect the lookup of 'wanderer-3' to
ultimately fail.
You do want the '@' before the second parameter to indicate that the
query should be sent to that server. So for example:
$ dig 'wanderer-3' @172.16.2.5
$ dig 'wanderer-3' @172.18.82.11
$ dig 'wanderer-3' @4.2.2.2
On May 18, 2009, at 12:48 PM, Samuel Isaacson wrote:
scutil --dns gives:
DNS configuration
resolver #1
nameserver[0] : 172.16.2.5
nameserver[1] : 172.18.82.11
nameserver[2] : 4.2.2.2
order : 200000