Issues with current versions of "doc"...

Brad Knowles brad.knowles at skynet.be
Fri Sep 21 09:30:36 UTC 2001


Folks,

	I have recently been made aware of some problems with the way 
"doc" may mis-report some errors.  This is an issue for both current 
versions of doc -- 2.1.6 and 2.2.3, for use with BIND 8 and BIND 9 
respectively.  The problem results from the way doc may misinterpret 
the exit codes returned by "dig".  Unfortunately, these errors are in 
code that I have never touched, and I took over responsibility for 
maintaining this tool in 1995.

	To properly fix these errors with all recent versions of dig 
(BIND 8 and above) will require some fairly significant code changes, 
and will reduce somewhat the quality of the error messages that doc 
may be able to report (it would just pass on the RCODE value provided 
by dig, instead of being able to display a somewhat more informative 
error message).


	At this point I am considering my options.  If I decide to go 
ahead and make the code changes, I will most likely also try to 
figure out a way to make the new version compatible with both BIND 8 
and BIND 9.

	However, in that case, this would be the last major release of 
doc -- all future work would be to incorporate all the functionality 
of doc into the DNS debugging tool "dnswalk", which is written in 
Perl.


	Any feedback you may have would be appreciated.


	In the meanwhile, please be aware that doc may return incorrect 
error messages in certain situations.

-- 
Brad Knowles, <brad.knowles at skynet.be>

H4sICIFgXzsCA2RtYS1zaWcAPVHLbsMwDDvXX0H0kkvbfxiwVw8FCmzAzqqj1F4dy7CdBfn7
Kc6wmyGRFEnvvxiWQoCvqI7RSWTcfGXQNqCUAnfIU+AT8OZ/GCNjRVlH0bKpguJkxiITZqes
MxwpSucyDJzXxQEUe/ihgXqJXUXwD9ajB6NHonLmNrUSK9nacHQnH097szO74xFXqtlbT3il
wMsBz5cnfCR5cEmci0Rj9u/jqBbPeES1I4PeFBXPUIT1XDSOuutFXylzrQvGyboWstCoQZyP
dxX4dLx0eauFe1x9puhoi0Ao1omEJo+BZ6XLVNaVpWiKekxN0VK2VMpmAy+Bk7ZV4SO+p1L/
uErNRS/qH2iFU+iNOtbcmVt9N16lfF7tLv9FXNj8AiyNcOi1AQAA


More information about the bind-users mailing list