Michael Sawyer
fe3bcec776
Remove useless -h option (which nslookup8 didn't have anyway).
2000-12-08 18:25:54 +00:00
Michael Sawyer
8fa78d9ad5
CHANGES entry
...
typo fix.
2000-12-08 17:50:47 +00:00
Michael Sawyer
cc7732e129
RT#528 fixed
2000-12-08 17:06:52 +00:00
Mark Andrews
6fda157766
ISC_LINK_*UNSAFE -> ISC_LINK_INITAND*
2000-12-07 20:15:58 +00:00
Michael Sawyer
ee4429e13e
600. [bug] Reverse lookups sometimes failed in dig, etc...
2000-12-07 19:56:05 +00:00
David Lawrence
869f65bea4
made addlookup() void; its return value was not needed in any context
2000-12-06 22:38:49 +00:00
Andreas Gustafsson
33b66a98be
more DNS_OPT_NEWCODES sanitation
2000-12-02 05:13:37 +00:00
Andreas Gustafsson
90ad126bb3
more DNS_OPT_NEWCODES sanitation
2000-12-02 04:44:51 +00:00
Andreas Gustafsson
acb053cc54
references to named.conf statements should not include an empty
...
set of braces
2000-11-30 00:20:40 +00:00
Michael Sawyer
ddba67ddb9
Allow user to specify more than ~65000 retries in dig.
2000-11-21 21:40:12 +00:00
Michael Sawyer
0c16c8a011
Make dig work in v4-less setups. This is largely untested, since I am not
...
sure where to find a machine without v4 networking.
2000-11-21 21:35:32 +00:00
Michael Sawyer
789145979d
Add bounds checking to various dig options
2000-11-21 20:55:00 +00:00
Andreas Gustafsson
5160e38bde
spacing
2000-11-21 20:52:24 +00:00
Michael Sawyer
2185dd4ac3
RT#470
2000-11-21 19:05:30 +00:00
Mark Andrews
25a66b4e41
#include <isc/print.h>
2000-11-20 13:02:18 +00:00
Brian Wellington
cffe50abf6
Lots of copyright updates
2000-11-18 03:01:17 +00:00
Brian Wellington
78d78f05d9
556. [func] The DNSSEC OK bit in the EDNS extended flags
...
is now implemented. Responses to queries without
this bit set will not contain any DNSSEC records.
2000-11-13 21:34:03 +00:00
Andreas Gustafsson
2e13cb9738
indentation
2000-11-08 01:23:27 +00:00
Michael Sawyer
04ab4ecb27
Remove name limits and counter from dig; there's no obvious way to count
...
names out of message_parse when PRESERVE_ORDER is set.
2000-11-08 00:47:18 +00:00
Michael Sawyer
d1fb32ad95
Print the version number information with "dig" alone on the command line
2000-11-07 01:29:34 +00:00
Mark Andrews
368b37b616
dns_rdata_invalidate -> dns_rdata_reset
2000-10-31 03:22:05 +00:00
Mark Andrews
e6d3ffb665
ISC_LINK_INIT + ISC_LIST_APPEND -> ISC_LIST_APPENDUNSAFE
2000-10-25 06:17:56 +00:00
Mark Andrews
c03bb27f06
532. [func] Implement DNS UPDATE pseudo records using
...
DNS_RDATA_UPDATE flag.
531. [func] Rdata really should be initalized before being
assigned to (dns_rdata_fromwire(), dns_rdata_fromtext(),
dns_rdata_clone(), dns_rdata_fromregion()),
check that it is.
2000-10-25 04:26:57 +00:00
Michael Sawyer
5d20773abc
Move generation of reverse lookups (blah.in-addr.arpa, etc...) names to
...
a common place.
2000-10-23 23:13:21 +00:00
Michael Sawyer
8e61de2efd
Move fixeddomain code so nslookup can use domain= setting
...
More ISC_LINK_INIT's added where needed.
2000-10-23 17:49:05 +00:00
Andreas Gustafsson
8ab588369b
use sizeof(), not hardcoded constant
2000-10-20 19:53:59 +00:00
Michael Sawyer
a7e1443598
Fix #ifdef's for OPT codes.
...
Fix hex_dump()
2000-10-20 05:03:31 +00:00
Mark Andrews
5e589b5356
Uninitalised link fixes, batch 1.
2000-10-20 02:21:58 +00:00
Michael Sawyer
b3c93eb846
Evil bad buffer overflow bug.
2000-10-20 00:54:01 +00:00
Michael Sawyer
801d49df37
From Brian's review:
...
digrc filename print length shouldn't be 132
bargc should be more than 14
Opcode 100 spelled wrong in host.c
2000-10-19 23:31:56 +00:00
Michael Sawyer
d7a2e05112
Changes which were made on the release branch when Brian and I were reviewing
...
dig's code, but never made it down to the mainline. These are fixes to some
potential bugs Brian noticed.
2000-10-19 22:49:34 +00:00
Michael Sawyer
7a87d1c63b
Fix places where wrong tag was used in #ifdef's
2000-10-19 21:49:49 +00:00
Andreas Gustafsson
6fe444423a
(len != 0 && len % 16 == 15) can be simplified to just (len % 16 == 15)
2000-10-19 17:30:14 +00:00
Andreas Gustafsson
0067b1721e
English style
2000-10-18 22:11:20 +00:00
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
Brian Wellington
6177fc9897
A lot of files generated by libtool were not properly ignored.
2000-10-16 23:44:25 +00:00
Andreas Gustafsson
27dd1d31f7
say "beginning of DNS packet", not "begin of DNS packet"
2000-10-16 20:38:30 +00:00
Michael Sawyer
d97ea44061
Cause -m (memory debugging) option in dig to actually function.
2000-10-16 19:00:01 +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
Michael Sawyer
7804502532
Mike learns to spell...
2000-10-12 17:09:03 +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
Mark Andrews
a6368669a6
'-p' is already taken, -p port. Use '-w' (wire) to print out the packet.
2000-10-03 04:29:08 +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
Michael Sawyer
a5e89a4493
Make -t and -c change command line parsing so that unprefixed class and types
...
are treated as hosts.
2000-10-02 16:16:50 +00:00