
Originally Posted by
whtet
I still needs to troubleshoot why 'dig hostname' is not working while 'ping hostname' is working.
I've experienced this intermittently. Most of the time I can ping internal hostnames, but sometimes, some of them just don't work. Then I'll come back later in the day and suddenly they do work.
This is the same basic problem as I'm having with resolving internal hostnames within Firefox on XP. Sometimes they work, sometimes they don't. If it doesn't work in Firefox, then ping will also be broken, so these issues share the same root cause.
Thank you phormion for the link to dig for Windows. Here's the output I see for dig and nslookup. I no longer get the timeout for nslookup (and I'm not sure how I fixed that), but the basic problem still remains.
Code:
dig zencartdemo.dev
; <<>> DiG 9.4.0 <<>> zencartdemo.dev
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 899
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;zencartdemo.dev. IN A
;; ANSWER SECTION:
zencartdemo.dev. 38400 IN A 192.168.1.10
;; AUTHORITY SECTION:
dev. 38400 IN NS dev.
;; Query time: 0 msec
;; SERVER: 192.168.1.10#53(192.168.1.10)
;; WHEN: Mon Mar 26 12:54:58 2007
;; MSG SIZE rcvd: 63
Code:
nslookup zencartdemo.dev
Server: 192.168.1.10
Address: 192.168.1.10#53
Name: zencartdemo.dev
Address: 192.168.1.10
Bookmarks