2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

1156 Commits

Author SHA1 Message Date
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
Michael Sawyer
aea4345be8 Remove unused variable 2000-09-30 00:09:57 +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
c9093e6b1a Minor change, +sta should be +stats 2000-09-29 18:25:00 +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
Andreas Gustafsson
ab38df2af4 Review, hack and slash (mostly slash) 2000-09-26 23:41:43 +00:00
Michael Sawyer
d8c339062c cancel_lookup should have been defined as static 2000-09-26 17:21:25 +00:00
Andreas Gustafsson
07f1d27a64 spacing; removed redundant break statements that caused
compiler warnings
2000-09-26 17:17:39 +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
b02d8fe708 plus-options with values (+bufsize=8000) didn't print properly in the dig
comment lines since my change of option processing.  Fixed.
2000-09-25 16:14:20 +00:00
Michael Sawyer
31ce593907 Add back +norec
Properly test for missing argument in - options
Spacing
Remove unnecessary variable
2000-09-22 23:58:32 +00:00
Michael Sawyer
a985c480e1 Code cleanup, mainly in dig option processing. 2000-09-22 23:21:32 +00:00
Andreas Gustafsson
92aa706a21 the mnemonic for the chaos class is CH, not CHAOS 2000-09-22 17:36:02 +00:00
Michael Sawyer
53e7d12ab5 Display correct port number on set all and similar commands. RT352 2000-09-22 17:14:24 +00:00
Mark Andrews
34fec86ca3 make next_token() shared. 2000-09-21 23:47:41 +00:00
Andreas Gustafsson
1416cae3f6 spacing 2000-09-21 23:10:58 +00:00