Mark Andrews
0491a31568
bad declaration.
2000-10-17 02:11:28 +00:00
Michael Sawyer
92b35cdef8
Missed a conflict
2000-10-17 00:36:09 +00:00
Michael Sawyer
88aa63f566
Make option processing case sensitive.
...
Remove -w option; default xfr's to +nocomments, +noquestion. Remove wiring
around repeated comment printing, so xfr's with +comments will cause
comment headers to be printed per packet, producing same result as -w
gave.
2000-10-17 00:35:18 +00:00
Andreas Gustafsson
7897195eed
spacing
2000-10-17 00:31:17 +00:00
Andreas Gustafsson
27dd1d31f7
say "beginning of DNS packet", not "begin of DNS packet"
2000-10-16 20:38:30 +00:00
Brian Wellington
e2babfac17
dig now calls isc_mem_stats() only if -m was specified, not if
...
isc_mem_debugging was set elsewhere.
2000-10-13 22:55:50 +00:00
Michael Sawyer
233514c1da
Add +besteffort option to dig (on by default) which will cause the
...
message parser to accept somewhat malformed packets.
2000-10-13 17:54:00 +00:00
Brian Wellington
d4bf3e3cef
fix hex dump printing and call dns_message_parse() with flags instead of
...
a boolean.
2000-10-12 01:16:12 +00:00
Michael Sawyer
dc570b92f6
Add support for proposed ZONE and VIEW opt attributes. These are currently
...
hidden behind #ifdef's, since no OPT code number has yet to be assigned
by the IANA. They are also not quite complete in all regards; VIEW
options are understood and ignored. ZONE options are understood and
acted upon, though some of the error cases aren't quite right.
Remove doubled isc_mem_stats in dighost.c
Update todo list.
Change literal 255's to DNS_NAME_MAXWIRE in name.c
2000-10-11 17:44:18 +00:00
Michael Sawyer
55bf97a1b4
Fix default for packet tracing.
...
Add automatic in-addr lookup generation in nslookup.
2000-10-04 17:14:44 +00:00
Michael Sawyer
d2792acfaf
Add (presently undocumented) -p option to show the begin of each DNS packet,
...
useful for AXFR's and similar replies. (requested by GDIB)
2000-10-02 16:43:25 +00:00
Andreas Gustafsson
3c6ed46226
spacing
2000-09-30 00:06:08 +00:00
Michael Sawyer
10e1788f9f
Dig changes in response to RT321 (output formatting)
2000-09-29 23:42:15 +00:00
Michael Sawyer
2f96e6b9bb
Change sense of +fail option to something more reasonable
2000-09-28 23:02:28 +00:00
Michael Sawyer
056aaae3e2
Remove +details option
2000-09-27 00:02:02 +00:00
Michael Sawyer
d8c339062c
cancel_lookup should have been defined as static
2000-09-26 17:21:25 +00:00
Michael Sawyer
0dabedcca5
Add +fail option to try next server after a SERVFAIL
...
Fix some minor problems in some of the new option processing code.
Slight change in mem debugging
TODO changes
2000-09-25 23:10:00 +00:00
Michael Sawyer
a985c480e1
Code cleanup, mainly in dig option processing.
2000-09-22 23:21:32 +00:00
Mark Andrews
34fec86ca3
make next_token() shared.
2000-09-21 23:47:41 +00:00
Michael Sawyer
b8f9623df0
Remove isc_app_block() from dig's get_address().
2000-09-21 23:02:34 +00:00
Michael Sawyer
f900be2190
Dig, et al:
...
When you have more than 1 nameserver to send queries to,
send them one at a time with a 1 second wait between transmissions
instead of just flooding them all out at once.
Fix bug 348, nslookup crashing when server specified without server
2000-09-21 22:46:39 +00:00
Mark Andrews
e412ae947d
482. [bug] nslookup: a plain "server" or "lserver" should be
...
treated as a lookup.
480
strsep() has slightly different semantics to strtok(), use static function
to skip empty tokens.
2000-09-21 12:25:43 +00:00
Mark Andrews
07a926724c
481. [bug] nslookup:get_next_command() stack size exceeds
...
per thread limit.
480. [bug] strtok() is not thread safe. [RT #349 ]
replaced strtok() w/ strsep().
2000-09-21 11:53:16 +00:00
Michael Sawyer
3291587f23
258. [bug] Nslookup didn't properly check class and type values.
...
257. [bug] Dig/Host/Nslookup didn't properly handle connect
timeout in some very specific situations, and gave
an unnecessary warning.
2000-09-14 20:11:48 +00:00
Mark Andrews
ede697fd8e
Don't retry truncated tcp sessions.
2000-09-13 08:02:11 +00:00
Michael Sawyer
8f717bb10b
Remove TCP retry on malformed packet
...
Clean up hex dump a bit
2000-09-13 00:55:13 +00:00
Michael Sawyer
97beb7237b
A couple of typos corrected
...
Improvement to host8 compatibility.
2000-09-13 00:27:27 +00:00
Andreas Gustafsson
4c1fac9b52
typo
2000-09-13 00:13:54 +00:00
Andreas Gustafsson
e1f312795e
spacing
2000-09-13 00:12:16 +00:00
Michael Sawyer
f63a6079d3
Typo fixed
...
Add +ignore option
2000-09-13 00:03:28 +00:00
Michael Sawyer
08dbeaef22
Bug #141
...
dig -b now tries its best to use the address you tell it to bind to. The
problem was telling it to bind to an address in one family, then connect to
a server in a different one. Now, it only tries servers in the same family
you bind to (if you specify -b) and gives a more meaningful error message
if it can't.
2000-09-12 22:42:17 +00:00
Michael Sawyer
e9429ff25a
Retry a lookup in TCP mode after getting a reply with TC flag set
2000-09-11 19:38:22 +00:00
Mark Andrews
6f4b088695
Unbalanced lock/unlock.
2000-08-28 05:06:18 +00:00
Brian Wellington
fa9a407180
Last set of DESTROYLOCK changes
2000-08-26 01:42:34 +00:00
Andreas Gustafsson
771b2ddd8a
suppress compiler warning on Alpha
2000-08-17 01:23:42 +00:00
Brian Wellington
6d3f954c57
388. [func] host can now do reverse ipv6 lookups.
2000-08-14 19:11:05 +00:00
Andreas Gustafsson
1199d0ee34
use isc_sockaddr_anyofpf()
2000-08-09 19:11:27 +00:00
Michael Sawyer
2a2d5b6c32
And while we're at it, call back into check_if_done() after send_done(),
...
so things get shutdown in that rare condition...
2000-08-03 18:26:22 +00:00
Michael Sawyer
3ab1cd05b8
Don't INSIST something which is rarely, but legitimately, not true.
2000-08-03 18:23:16 +00:00
Michael Sawyer
19c8df90f1
Support yet another strange set of nslookup options.
...
nslookup - nameserver nslookup -nameserver
are both listed in the old man page. Both now are supported.
2000-08-03 17:43:06 +00:00
Andreas Gustafsson
00d527364a
spacing
2000-08-02 22:39:01 +00:00
David Lawrence
044ec47f7d
oops, erroneously added a _ before a variable that was being used.
2000-08-02 19:52:28 +00:00
David Lawrence
887a063838
sevent and query were not used by send_done()
2000-08-02 19:49:57 +00:00
Michael Sawyer
5da4ef4cf4
A few more minor changes; minor code cleanup and improved error reporting
...
of errors in thye recv call.
2000-08-02 14:38:51 +00:00
David Lawrence
40f53fa8d9
Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
...
own CVS tree will help minimize CVS conflicts. Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
Michael Sawyer
082bc93d68
Various changes (mostly small) picked up in code review
2000-08-01 00:53:20 +00:00
Michael Sawyer
86370ee8e6
Handle axfr's of empty zones correctly.
2000-07-28 21:56:53 +00:00
Brian Wellington
bf9163715d
isc_mem_debugging cleanup
2000-07-27 23:52:30 +00:00
Michael Sawyer
c3dee052d6
Remove unused variable from query structure
2000-07-27 19:06:12 +00:00
Michael Sawyer
280f99d60a
Fix assertion when sockets died before tcp_length_done.
2000-07-27 18:36:59 +00:00