Commit graph

80 commits

Author SHA1 Message Date
David Lawrence
ad7bb5bff3 also suggest "host" in addition to "dig" 2000-06-20 00:21:15 +00:00
David Lawrence
93c581d09f ignore nslookup 2000-06-19 19:14:09 +00:00
Michael Sawyer
a414896ee9 +ad/+noad option conflicting with +additional/+noadditional option 2000-06-19 19:00:49 +00:00
David Lawrence
cd720113a2 add missing void prototypes, use ISC_TF to assign a boolean from an expression 2000-06-19 18:54:45 +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
77ae2d58c2 Memory leak. 2000-06-15 22:08:44 +00:00
Michael Sawyer
7b5dbd404b Only need h_errno if we're not using getaddrinfo 2000-06-15 20:56:24 +00:00
Michael Sawyer
6fc790c460 If we have it, use getaddrinfo instead of gethostbyname to find the
address of the nameserver (from resolv.conf or @nameserver).
2000-06-15 19:05:30 +00:00
Michael Sawyer
6c6a62933d Spelling error. 2000-06-15 18:24:08 +00:00
Michael Sawyer
f8fec75ee8 Something I've been wanting to do for a long time. 2000-06-15 00:22:21 +00:00
Michael Graff
4d9485ed34 make ipv6 work again 2000-06-13 01:49:46 +00:00
Michael Sawyer
2634080063 Fix for slight changes in DST interface. 2000-06-12 19:33:30 +00:00
Michael Sawyer
7e2a4f6ad6 Minor Makefile changes 2000-06-09 00:44:12 +00:00
Michael Sawyer
9f35af4361 Bind sockets before use 2000-06-08 21:18:24 +00:00
Michael Sawyer
fa6f2ebcbb Remove unnecessary code 2000-06-08 18:36:53 +00:00
Michael Sawyer
960c8888f6 TSIG verification of xfr replies working now. 2000-06-07 00:13:57 +00:00
Michael Sawyer
d62f922122 Fix segfault due to uninitialized variable 2000-06-06 23:06:25 +00:00
Michael Sawyer
910df0c767 Further attempts to make XFR's verify with TSIG keys. Still not
functional, and disabled in this checkin.
Added -debug and -memdebug command line options, to avoid having
to recompile every time these options are needed.
2000-06-06 22:50:44 +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
David Lawrence
7e6d96bcac char *secretstore in setup_system() made unsigned for argument compatibility
with dns_tsigkey_create().
2000-06-06 15:30:40 +00:00
Michael Sawyer
a5ed46c9fd Send TSIG signed queries with dig. This version requires all queries
from a single invocation of dig use the same key, and doesn't validate
replies yet.  Also, keys must be passed on the command line with the
-y option.  -k forthcoming.
2000-06-06 00:43:17 +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
Michael Sawyer
c4bd4b1a8e Fix up includes and remove a warning 2000-06-01 01:06:40 +00:00
Michael Sawyer
bcb97dbff8 Fix bug in AXFR processing when multiple servers can potentially answer. 2000-05-31 23:51:14 +00:00
Brian Wellington
d474ab7b92 include dns/name.h 2000-05-30 22:43:10 +00:00
Brian Wellington
83a44df0a1 include dns/name.h 2000-05-30 22:27:27 +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
fe0de35951 Fix a major oops in my last commit, causing segfaults. 2000-05-26 00:48:18 +00:00
Michael Sawyer
aef93c6e14 Disable debugging 2000-05-25 22:25:25 +00:00
Michael Sawyer
51ef9c7d6c Fix memory leak on abort 2000-05-25 19:32:11 +00:00
Michael Sawyer
36e4d8878c Clean up uninitialized variable bug 2000-05-25 17:24:57 +00:00
Michael Sawyer
6afdb1e5e4 Clean up some unused variables... 2000-05-25 00:01:30 +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
932b781b81 Modify dig to use message_*totext() routines. 2000-05-24 19:27:01 +00:00
David Lawrence
e3db271c8d removed non-existent directory ./unix/include from CINCLUDES 2000-05-24 18:39:40 +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
David Lawrence
1b80d19ba7 removed unused stack variable "args" from dummy debug().
use ISC_TF when assigning a boolean value.
mask random() to sixteen bits and cast to unsigned short for assignment to
     lookup->sendmsg->id
minor ISC style issues.
2000-05-24 03:10:24 +00:00
David Lawrence
b0ab096ce6 added missing prototype to show_usage().
added UNUSED(first) for when USEINITALWS is not defined.
use ISC_TF() when assigning a boolean value.
added missing spaces around assignment operators per ISC style.
2000-05-24 03:05:58 +00:00
Michael Sawyer
1da88f8208 Forcably prevent callbacks from trying to do something once the lists
start to get freed up.
2000-05-22 22:56:31 +00:00
Michael Sawyer
4e0dc7b50c Add option to bind to a specified address 2000-05-19 17:54:04 +00:00
Michael Sawyer
8d837d2669 Add host install 2000-05-18 22:53:15 +00:00
Michael Sawyer
88e216c7b4 Remove duplicate printing of greeting message 2000-05-18 01:32:53 +00:00
Michael Sawyer
b437fa469e Correct bug in batch file handling 2000-05-18 01:21:19 +00:00
Michael Sawyer
df834113a3 Fix bug in dig's message printing. 2000-05-17 18:36:31 +00:00
Michael Sawyer
0cfdce899b Add +[np]cmd option 2000-05-16 18:54:40 +00:00
Michael Sawyer
844eaa56d6 Minor error in return codes fixed in dighost.c
Additional functionality to nslookup
2000-05-16 17:53:35 +00:00
Michael Sawyer
9fe3676b84 Clean up command line parsing in dig.
Fix bug in nslookup interactive mode.
2000-05-12 18:45:38 +00:00