Michael Graff
ca9739800f
implement dns_dispatchmgr_t, replacing dns_dispatchlist_t. Use it throughout the library/server.
2000-05-10 21:34:50 +00:00
Andreas Gustafsson
42654cd6bb
if keygen and signer are built by default, keysettool and keysigner
...
should be, too
2000-05-10 18:44:49 +00:00
David Lawrence
2ffe094fab
fixed argument type mismatch in dns_c_logchan_getversions call
2000-05-10 18:38:21 +00:00
Olafur Gudmundsson
ff8d15be4e
Fixed 3 bugs in keygen,
...
it overwrote old keys if new key key-id conflicted
It was generating non null-keys with id==0
It was not able to generate DSA null keys.
I changed size of maximum RSA key to 2048.
2000-05-10 17:57:53 +00:00
David Lawrence
f2fdfe7c42
Silence "end-of-loop condition not reached" warnings from Solaris compiler
2000-05-10 03:33:57 +00:00
David Lawrence
0cdff5948e
file versions needs to be signed int, because ISC_LOG_ROLLNEVER is negative
2000-05-10 01:50:58 +00:00
David Lawrence
47b26abe77
ensure proper range for argument to ctype functions
2000-05-09 22:22:25 +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
David Lawrence
8a47ea1dad
a few lingering (mem|str)(cmp|cpy|len) missing prototypes
2000-05-09 15:02:20 +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
f675434978
return rather than exit from main() to shut up HP/UX
2000-05-08 20:12:46 +00:00
David Lawrence
8e591e2046
"do { ... } while (1)" to shut up HP/UX
2000-05-08 20:07:58 +00:00
David Lawrence
edf7c005be
return(1) rather than exit(1) from main() to shut up HP/UX
2000-05-08 20:06:05 +00:00
David Lawrence
6028d1ce03
Needs string.h for function prototypes. For some reason gcc and other
...
compilers do not warn about the missing str*/mem* prototypes.
2000-05-08 19:23:32 +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
David Lawrence
0e5b8234ba
don't build sdig by default, now that a full-featured dig is available
2000-05-08 13:35:02 +00:00
David Lawrence
6245328332
build dig/host before bulding tests
2000-05-08 13:34:07 +00:00
Mark Andrews
c6ce77b4dc
155. [bug] ns_notify_start() was not detaching the found zone.
2000-05-08 07:26:37 +00:00
James Brister
65c9645ca7
Support new 'database' statement in zone.
...
database "quoted-string";
2000-05-06 10:18:48 +00:00
Michael Sawyer
6c7a2db63c
Add +trace option, change some of the behavior of other options.
2000-05-06 01:16:07 +00:00
Andreas Gustafsson
2e6c976751
include severity level in log messages printed on stderr
2000-05-06 00:50:41 +00:00
Andreas Gustafsson
b4780360a4
log dns library warnings to stderr even when not verbose;
...
do not prefix stderr messages with time stamp
2000-05-06 00:48:53 +00:00
Andreas Gustafsson
01757e5311
added check for missing domain name argument
2000-05-05 19:55:56 +00:00
Andreas Gustafsson
e79be811b0
cannot use 'inline' in header files because <config.h> has
...
not been included yet to undefine it on platforms that do not support it
2000-05-05 18:22:16 +00:00
Andreas Gustafsson
f830ac6764
dns_name_fromwire:5 test expected dns_name_fromwire() to
...
detect unwanted compression but did not set the 'strict' flag
2000-05-05 17:48:57 +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
Andreas Gustafsson
6d7909017d
needs <dns/result.h>
2000-05-04 21:30:44 +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
Michael Graff
c90f5e8d1e
Split dns_log_init() into dns_log_init() which sets up module and category names, and dns_log_setcontext() which sets the logging context. Call isc_log_setcontext(), dns_log_init(), and dns_log_setcontext().
2000-05-03 21:11:40 +00:00
Michael Sawyer
e69ccf6d54
Move recursive flag into lookup structure.
...
Fix bug in batch processing in host.
Add fixed origin code.
2000-05-03 20:27:13 +00:00
James Brister
e2cf9c2db3
support 'disabled' statement in zone config (causes
...
zone to be parsed and then ignored). Currently must
come after the 'type' clause.
support optional ports in masters and also-notify
statements:
masters [ port xxx ] { y.y.y.y [ port zzz ] ; }
removed some unused arguments.
stop issuing some warnings about some features that
were not implemented, but now are.
2000-05-03 19:29:43 +00:00
Andreas Gustafsson
6ba0a8a5e7
eliminated compiler warnings on alpha
2000-05-03 18:25:52 +00:00
Michael Sawyer
7949dbdae1
Add support for search list (from resolv.conf) to dig and host
...
Add support for ndots (from resolv.conf and command line) to dig and host
Add usage information
Add support for retrying UDP sends, with command line options to set
how many sends are allowed to dig and host
Add multiple option t dig, like -C on host
Add options in dig to enable and disable display of comment lines and
individual sections
2000-05-02 23:23:12 +00:00
Michael Graff
58ff88cca7
use 'flags' rather than 'attributes' and rename pkt->flags to pkt->pktflags
2000-05-02 18:46:44 +00:00
Andreas Gustafsson
7193a1762e
suppress logging until UID switch to avoid creating log
...
files as root
2000-05-02 18:45:08 +00:00
David Lawrence
09f22ac5b0
Redundant header work, mostly removing <dns/result.h> from installed
...
headers and adding it to source files that need it.
2000-05-02 03:54:17 +00:00
David Lawrence
5117e028b6
Redundant header work, mostly removing <dns/result.h> from installed
...
headers and adding it to source files that need it.
2000-05-02 03:35:37 +00:00
Andreas Gustafsson
03384e7070
style
2000-05-02 01:16:21 +00:00
Michael Graff
ebff64a8bd
add a ; after a goto label, since it needs a statement after it.
...
Brian should look at this section of code, since I believe it will leak
a reference to 'keyset'
2000-05-01 21:59:05 +00:00
David Lawrence
b09983678f
145. [cleanup] Added <isc/lang.h> and ISC_LANG_BEGINDECLS/
...
ISC_LANG_ENDDECLS to header files that had function
prototypes, and removed it from those that did not.
2000-05-01 17:59:10 +00:00
David Lawrence
4be63b1fd8
144. [cleanup] libdns header files too numerous to name were made
...
to conform to the same style for multiple inclusion
protection.
2000-04-29 02:02:38 +00:00
Michael Sawyer
e01cfa577b
Add +twiddle option for testing.
...
Fix up host resolution from resolv.conf.
2000-04-29 01:39:32 +00:00
Michael Sawyer
387a58e8c4
Cleanup of debugging messages. Cleanup of failure shutdown memory leaks.
...
Fix multiple sends when not needed. Fix buffer length check failure
code. Increase recv buffer size.
2000-04-29 00:12:56 +00:00
David Lawrence
b77f76be2d
Where the methods field of an rdataset was compared to NULL, now use
...
dns_rdataset_isassociated() instead.
2000-04-28 23:46:43 +00:00
Michael Sawyer
52f5715dcc
Make compiler warnings go away.
2000-04-28 21:53:50 +00:00
Michael Sawyer
df5503799f
Add -C (Check all SOA records on authorative servers) and -T (tcp) options
...
to host program. Clean up some memory issues in dighost.c and dig.c.
Still need to track down memory issues on ^C cleanup.
2000-04-28 21:41:19 +00:00
David Lawrence
c403d3f7d6
130. [cleanup] <isc/condition.h> does not need <pthread.h> or
...
<isc/boolean.h>, and now includes <isc/types.h>
instead of <isc/time.h>.
(does not need pthread.h because it *does* need isc/mutex.h, which
will be guaranteed to provide pthread.h)
2000-04-28 18:58:40 +00:00
Andreas Gustafsson
a0f6cda5fd
the 'default_debug' log channel was not set up when
...
'category default' was present in the config file
2000-04-28 18:53:45 +00:00
Mark Andrews
37cf280f49
port is no longer used
2000-04-28 17:50:56 +00:00
Mark Andrews
598b67856b
dns_zone_{set,get}masterport() is gone.
2000-04-28 17:18:23 +00:00