bind 9.3.2 dig win32 broken?

james.owen at bell.ca james.owen at bell.ca
Wed Feb 15 19:22:32 UTC 2006


Hi,

Looks like it is finding 'localhost' and nothing else.
Which reg entry is it seeking?

from 'broken' version

C:\Documents and Settings\james.owen\Desktop\bind>dig -d
clone_lookup()
make_empty_lookup()
clone_server_list()
setup_system()
ndots is 1.
copy_server_list()
make_server(127.0.0.1)
lock_lookup c:\cvs\9_3_x\bin\dig\dighost.c:3034
success
start_lookup()
setup_lookup(006EBD28)
resetting lookup counter.
cloning server list
clone_server_list()
make_server(127.0.0.1)
using root origin
recursive query
add_question()
starting to render the message
done rendering
create query 006EE838 linked to lookup 006EBD28
do_lookup()
send_udp(006EE838)
bringup_timer()
have local timeout of 5
working on lookup 006EBD28, query 006EE838
sockcount=1
recving with lookup=006EBD28, query=006EE838, sock=006EFA30
recvcount=1
sending a request
unlock_lookup c:\cvs\9_3_x\bin\dig\dighost.c:3036
lock_lookup c:\cvs\9_3_x\bin\dig\dighost.c:1872
success
send_done()
sendcount=0
check_if_done()
list empty
unlock_lookup c:\cvs\9_3_x\bin\dig\dighost.c:1881
connect_timeout()
lock_lookup c:\cvs\9_3_x\bin\dig\dighost.c:2103
success
resending UDP request to first server
send_udp(006EE838)
bringup_timer()
have local timeout of 5
working on lookup 006EBD28, query 006EE838
sending a request
unlock_lookup c:\cvs\9_3_x\bin\dig\dighost.c:2144
lock_lookup c:\cvs\9_3_x\bin\dig\dighost.c:1872
success
send_done()
sendcount=0
check_if_done()
list empty
unlock_lookup c:\cvs\9_3_x\bin\dig\dighost.c:1881
connect_timeout()
lock_lookup c:\cvs\9_3_x\bin\dig\dighost.c:2103
success
resending UDP request to first server
send_udp(006EE838)
bringup_timer()
have local timeout of 5
working on lookup 006EBD28, query 006EE838
sending a request
unlock_lookup c:\cvs\9_3_x\bin\dig\dighost.c:2144
lock_lookup c:\cvs\9_3_x\bin\dig\dighost.c:1872
success
send_done()
sendcount=0
check_if_done()
list empty
unlock_lookup c:\cvs\9_3_x\bin\dig\dighost.c:1881
connect_timeout()
lock_lookup c:\cvs\9_3_x\bin\dig\dighost.c:2103
success

; <<>> DiG 9.3.2 <<>> -d
;; global options:  printcmd
;; connection timed out; no servers could be reached
cancel_lookup()
check_if_done()
list empty
check_next_lookup(006EBD28)
still have a worker
unlock_lookup c:\cvs\9_3_x\bin\dig\dighost.c:2144
recv_done()
lock_lookup c:\cvs\9_3_x\bin\dig\dighost.c:2548
success
recvcount=0
lookup=006EBD28, query=006EE838
no longer pending.  Got operation canceled
clear_query(006EE838)
sockcount=0
check_next_lookup(006EBD28)
try_clear_lookup(006EBD28)
cleared
freeing server 006EDF28 belonging to 006EBD28
start_lookup()
check_if_done()
list empty
shutting down
cancel_all()
lock_lookup c:\cvs\9_3_x\bin\dig\dighost.c:3050
unlock_lookup c:\cvs\9_3_x\bin\dig\dighost.c:2571
success
unlock_lookup c:\cvs\9_3_x\bin\dig\dighost.c:3080
destroy_libs()
freeing task
freeing taskmgr
lock_lookup c:\cvs\9_3_x\bin\dig\dighost.c:3107
success
flush_server_list()
freeing commctx
freeing socketmgr
freeing timermgr
destroy DST lib
detach from entropy
unlock_lookup c:\cvs\9_3_x\bin\dig\dighost.c:3153
 
from 'not broken' version

C:\Documents and Settings\james.owen\Desktop\bind9.3.1>dig -d
clone_lookup()
make_empty_lookup()
clone_server_list()
setup_system()
ndots is 1.
copy_server_list()
make_server(142.183.230.34)
make_server(142.183.230.33)
lock_lookup \cvs\9_3_x\bin\dig\dighost.c:3049
success
start_lookup()
setup_lookup(0055B310)
resetting lookup counter.
cloning server list
clone_server_list()
make_server(142.183.230.34)
make_server(142.183.230.33)
using root origin
recursive query
add_question()
starting to render the message
done rendering
create query 0055F170 linked to lookup 0055B310
create query 0055F288 linked to lookup 0055B310
do_lookup()
send_udp(0055F170)
bringup_timer()
have local timeout of 1
working on lookup 0055B310, query 0055F170
sockcount=1
recving with lookup=0055B310, query=0055F170, sock=0055F408
recvcount=1
sending a request
unlock_lookup \cvs\9_3_x\bin\dig\dighost.c:3051
lock_lookup \cvs\9_3_x\bin\dig\dighost.c:1869
success
send_done()
sendcount=0
check_if_done()
list empty
unlock_lookup \cvs\9_3_x\bin\dig\dighost.c:1878
recv_done()
lock_lookup \cvs\9_3_x\bin\dig\dighost.c:2556
success
recvcount=0
lookup=0055B310, query=0055F170
before parse starts
after parse

; <<>> DiG 9.3.1 <<>> -d
;; global options:  printcmd
printmessage(headers comments long_form)
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1248
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 4

;; QUESTION SECTION:
;.                              IN      NS

;; ANSWER SECTION:
.                       76108   IN      NS      dmocmg.on.bell.ca.
.                       76108   IN      NS      dmocgg.on.bell.ca.
.                       76108   IN      NS      dc1c41.qc.bell.ca.
.                       76108   IN      NS      dcoc41.qc.bell.ca.
.                       76108   IN      NS      dmoc61.on.bell.ca.

;; ADDITIONAL SECTION:
dmocmg.on.bell.ca.      76928   IN      A       142.182.48.130
dmocgg.on.bell.ca.      86393   IN      A       198.235.79.43
dc1c41.qc.bell.ca.      86393   IN      A       142.117.134.162
dmoc61.on.bell.ca.      79508   IN      A       142.182.248.8

still pending.
;; Query time: 0 msec
;; SERVER: 142.183.230.34#53(142.183.230.34)
;; WHEN: Wed Feb 15 14:19:25 2006
;; MSG SIZE  rcvd: 199

cancel_lookup()
check_if_done()
list empty
clear_query(0055F288)
clear_query(0055F170)
sockcount=0
check_next_lookup(0055B310)
try_clear_lookup(0055B310)
cleared
freeing server 0055E0E8 belonging to 0055B310
freeing server 0055E908 belonging to 0055B310
start_lookup()
check_if_done()
list empty
shutting down
cancel_all()
lock_lookup \cvs\9_3_x\bin\dig\dighost.c:3065
unlock_lookup \cvs\9_3_x\bin\dig\dighost.c:3003
success
unlock_lookup \cvs\9_3_x\bin\dig\dighost.c:3095
destroy_libs()
freeing task
freeing taskmgr
lock_lookup \cvs\9_3_x\bin\dig\dighost.c:3122
success
flush_server_list()
freeing commctx
freeing socketmgr
freeing timermgr
destroy DST lib
detach from entropy
unlock_lookup \cvs\9_3_x\bin\dig\dighost.c:3168

Thanks,

---------------------------------------------------
James Owen                    flr 1 - 1501 Bank St.
Messaging Architecture        Ottawa, Ont. K1H 7Z1
Technology Development        work:   613.781.3363
Bell Canada                   cell:   613.299.9906
mailto: james.owen at bell.ca    icq:         5513569
---------------------------------------------------
 
-----Original Message-----
From: Danny Mayer [mailto:mayer at ntp.isc.org] 
Sent: Wednesday, February 15, 2006 12:10 AM
To: Owen, James (P018530)
Cc: bind-users at isc.org
Subject: Re: bind 9.3.2 dig win32 broken?

james.owen at bell.ca wrote:
> Hi,
> 
> I use the dig.exe tool frequently on all of my machines, and when I 
> downloaded the newest version of the binary kit for windows (9.3.2), I 
> noticed it can no longer resolve via my registry entries.  I have 
> compiled the source myself on windows XP, hoping it was a build bug, 
> but the executable still does not locate my DNS servers in my 
> registry.
> 

It should. It does for me.

> Using resolv.conf is not an option on my laptop, as I am always 
> assigned differing name server addresses.
> 
I don't have resolv.conf on this laptop and it works fine but then I have BIND 9 running on my laptop and it picks that up. I am wondering whether it ends up looking at the wrong registry entries for the DNS addresses. I would take a bit of debugging to figure this out. It may be a bug in the code fetching the nameserver list. Add a -d to the dig command and look for the make_server()lines. They list the nameservers it found in the registry.

> env: OS: winxp sp2 compiler: vc6sp6 +vcpp5 w/active perl w/openssl 
> 0.9.8x (renamed to openssl 0.9.6k)
> 

I have perl code to deal with the OpenSSL version issue. Mark hasn't yet put this into the builds.

> I have googled extensively on this and have seen no one else 
> complaining of this.
> 

It's the first I've heard of this.

> Dig 9.3.0 and 9.3.1 are not so 'broken'.
> 

I don't think that anything's changed in this particular area but I haven't looked recently.

> James Owen
> 

Danny

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.7/259 - Release Date: 2/13/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.7/259 - Release Date: 2/13/2006
 



More information about the bind-users mailing list