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
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
056aaae3e2
Remove +details option
2000-09-27 00:02:02 +00:00
Michael Sawyer
97beb7237b
A couple of typos corrected
...
Improvement to host8 compatibility.
2000-09-13 00:27:27 +00:00
Andreas Gustafsson
3370b8e656
removed redundant parentheses
2000-09-13 00:12:49 +00:00
Michael Sawyer
286e74a21b
Bug #255 fixed.
...
A wonderfully inconsistent user interface feature of v8 host duplicated.
2000-09-11 21:48:11 +00:00
Andreas Gustafsson
17a28c1f02
403. [bug] host did not use the search list.
2000-08-22 17:02:49 +00:00
Andreas Gustafsson
5b7f324879
removed unused extern variable declarations
2000-08-22 16:44:46 +00:00
Brian Wellington
771218f9ca
when doing an ipv6 reverse lookup, set the query type to PTR
2000-08-14 19:17:42 +00:00
Brian Wellington
6d3f954c57
388. [func] host can now do reverse ipv6 lookups.
2000-08-14 19:11:05 +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
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
David Lawrence
15a4474541
word wrap copyright notice at column 70
2000-07-27 09:55:03 +00:00
Michael Sawyer
68f0d29d61
Fix a minor race condition in SIGINT handling
...
Allow dig to used name key files
Allow SIGINT in nslookup
2000-07-19 17:52:27 +00:00
Michael Sawyer
aa6054ec74
Clean up type and class code. (No more ugly istype() and isclass() functions)
...
Minor changes to timeout handling code.
Don't preload batch file.
2000-07-18 01:28:20 +00:00
Michael Sawyer
8cd54a7461
Lots of changes to the shutdown code. Get rid of the annoying "just exit"
...
method of shutting down.
Known bug: SIGINT while doing batch mode causes assertion.
2000-07-14 17:57:27 +00:00
Michael Sawyer
e715e01178
More code duplication removal and general cleanup
...
Slight change in +nssearch output formatting
2000-07-14 16:35:30 +00:00
Michael Sawyer
8f56f93547
Clean up duplicate code in host.c
...
Fix a socket cleanup problem which, in some isolated cases, prevented
correct shutdown.
Remove +aa option completely.
2000-07-13 21:01:00 +00:00
Michael Sawyer
738310d8cf
It's probably a bad idea to pre-allocate 64K buffers for each lookup as soon
...
as you read in the batch file. Don't.
2000-07-13 01:22:38 +00:00
Brian Wellington
3ce3305278
Remove a race condition where the final event could be posted before
...
isc_app_run started.
2000-07-10 18:02:31 +00:00
Michael Sawyer
0819ae2ca5
Use limits.h/INT_MAX instead of the deprecated values.h/MAXINT
2000-07-06 01:02:42 +00:00
Michael Sawyer
38cf6e52ce
Lots of style changes.
...
Clean up what appears to be a varient of the race condition, this one set
off in nslookup.
2000-07-05 23:28:32 +00:00
Andreas Gustafsson
24139527f3
lots of style changes; no functional change
2000-07-05 19:31:26 +00:00
Mark Andrews
1318ddb52d
301. [bug] uninitalised pointer host:printmessage(). (RT #159 )
2000-07-03 05:10:14 +00:00
Michael Sawyer
1893b56ef9
Move taskmgr shutdown to the correct place.
2000-06-30 14:11:49 +00:00
Michael Sawyer
db8b100cae
DO NOT PULL ME UP TO THE RELEASE BRANCH.
...
This is a fix for the race condition in dig. It seems to work well, except
there's a memory leak I can't quite track down. Michael and I will look at
it on the plane ride tommorow, and commit a change via modem once we arrive
in PA. We'll also be doing general code cleanup.
2000-06-29 05:21:12 +00:00
Michael Sawyer
84c4c99c9e
290. [cleanup] +twiddle option to dig (for testing only) removed.
2000-06-28 18:20:44 +00:00
Michael Sawyer
23e8d9349b
Make host -C and dig +nss actually work.
2000-06-22 22:37:31 +00:00
Michael Sawyer
c9defbf4b9
Sort #includes
2000-06-21 17:48:32 +00:00
Michael Sawyer
d821f1cd7e
Additional debugging options
...
% comment option in dig
2000-06-21 01:40:42 +00:00
Michael Sawyer
518c9fea58
Add ability to set AD and CD flags in outgoing query.
2000-06-16 18:00:05 +00:00
Michael Sawyer
d62f922122
Fix segfault due to uninitialized variable
2000-06-06 23:06:25 +00:00
Michael Sawyer
47058d1726
Validate TSIG signatures on replies, *except* for xfr's.
...
Add Id string.
2000-06-06 18:49:06 +00:00
Michael Sawyer
d12ed0876f
Add ixfr support to dig, as:
...
dig domain.nil. ixfr=12345
where 12345 is version you are ixrf'ing against
(testing still in progress of this option)
2000-06-02 18:45:33 +00:00
David Lawrence
7efc8c3f69
Megacommit of many files.
...
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const. Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.
Minor other ISC style cleanups.
2000-06-01 18:49:22 +00:00
Brian Wellington
d474ab7b92
include dns/name.h
2000-05-30 22:43:10 +00:00
Michael Sawyer
cc88be4af1
Change global task variable to global_task
...
Remove unused globals
2000-05-26 22:03:00 +00:00
Michael Sawyer
0eb5cf7351
Fix lookup limit.
...
Fix non-closing of sockets when finished.
2000-05-24 23:39:30 +00:00
Michael Sawyer
17747cd5ee
Clean up warnings I accidentally left in in previous commit.
...
Add resetting of lookup counter between different name searches.
2000-05-24 19:49:51 +00:00
Michael Sawyer
d044d9891d
Fix CHAOS class.
...
Changed rdatatype printing in host.c.
Removed unexecuted code in dighost.c
2000-05-24 17:26:01 +00:00
David Lawrence
d0ad6ddcdd
added missing prototype for show_usage().
...
added UNUSED(first) for when USEINITALWS is not defined.
added missing spaces around assignment operators per ISC style.
use ISC_TF() when assigning a boolean value.
removed unused stack variables "have_host", "xfr_mode" and "nsfind"
from parse_args().
2000-05-24 03:12:36 +00:00
Michael Sawyer
6fe03d6c83
Code cleanup of dighost.c, hopefully making some of the flow of
...
command a bit more obvious.
Addition of TCP fallback on UDP failure. Will add option to disable this.
Further work on nslookup.
(nslookup is not built by default now, and is far from fully functional.
Interactive mode currently segfaults.)
2000-05-12 01:02:37 +00:00
Michael Sawyer
cefd68008f
Host was broken in last commit; fixed here.
...
Add nslookup.c; non-functional and not compiled by make all.
2000-05-09 18:05:13 +00:00
Michael Sawyer
f17b62a64b
Added +bufsize (EDNS0) option to dig
...
Added 1.2.3.4-> 4.3.2.1.in-addr.arpa translation to host
Added +defname, +aaonly, +cmd, +nostats, +qr flags to dig
Reviewed (and changed) result codes of dig.
2000-05-08 22:51:08 +00:00
David Lawrence
1a69a1a78c
Megacommit of dozens of files.
...
Cleanup of redundant/useless header file inclusion.
ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
/*
* This is a comment.
*/
2000-05-08 14:38:29 +00:00
Michael Sawyer
6c7a2db63c
Add +trace option, change some of the behavior of other options.
2000-05-06 01:16:07 +00:00
Michael Sawyer
c4ae16b2aa
Change command line options for dig. In particular, +short option added,
...
so users can easily get (for example) SOA list from all authorative servers
with 'dig +short +nssearch isc.org soa' rather than stringing dozens of
options together. (Rather these options remain or are removed in the
release version is still subject to discussion.)
2000-05-04 21:40:47 +00:00
Michael Sawyer
16d00613cf
Fix bug in handling of batch files.
...
Changes to conform to standard coding style.
Internally reorder batch line options to properly handle @ options in
batch files.
2000-05-03 23:07:30 +00:00