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

521 Commits

Author SHA1 Message Date
Michael Sawyer
f63a6079d3 Typo fixed
Add +ignore option
2000-09-13 00:03:28 +00:00
Michael Sawyer
08dbeaef22 Bug #141
dig -b now tries its best to use the address you tell it to bind to.  The
problem was telling it to bind to an address in one family, then connect to
a server in a different one.  Now, it only tries servers in the same family
you bind to (if you specify -b) and gives a more meaningful error message
if it can't.
2000-09-12 22:42:17 +00:00
Michael Sawyer
e9429ff25a Retry a lookup in TCP mode after getting a reply with TC flag set 2000-09-11 19:38:22 +00:00
Mark Andrews
6f4b088695 Unbalanced lock/unlock. 2000-08-28 05:06:18 +00:00
Brian Wellington
fa9a407180 Last set of DESTROYLOCK changes 2000-08-26 01:42:34 +00:00
Andreas Gustafsson
771b2ddd8a suppress compiler warning on Alpha 2000-08-17 01:23:42 +00:00
Brian Wellington
6d3f954c57 388. [func] host can now do reverse ipv6 lookups. 2000-08-14 19:11:05 +00:00
Andreas Gustafsson
1199d0ee34 use isc_sockaddr_anyofpf() 2000-08-09 19:11:27 +00:00
Michael Sawyer
2a2d5b6c32 And while we're at it, call back into check_if_done() after send_done(),
so things get shutdown in that rare condition...
2000-08-03 18:26:22 +00:00
Michael Sawyer
3ab1cd05b8 Don't INSIST something which is rarely, but legitimately, not true. 2000-08-03 18:23:16 +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
Andreas Gustafsson
00d527364a spacing 2000-08-02 22:39:01 +00:00
David Lawrence
044ec47f7d oops, erroneously added a _ before a variable that was being used. 2000-08-02 19:52:28 +00:00
David Lawrence
887a063838 sevent and query were not used by send_done() 2000-08-02 19:49:57 +00:00
Michael Sawyer
5da4ef4cf4 A few more minor changes; minor code cleanup and improved error reporting
of errors in thye recv call.
2000-08-02 14:38:51 +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
Michael Sawyer
082bc93d68 Various changes (mostly small) picked up in code review 2000-08-01 00:53:20 +00:00
Michael Sawyer
86370ee8e6 Handle axfr's of empty zones correctly. 2000-07-28 21:56:53 +00:00
Brian Wellington
bf9163715d isc_mem_debugging cleanup 2000-07-27 23:52:30 +00:00
Michael Sawyer
c3dee052d6 Remove unused variable from query structure 2000-07-27 19:06:12 +00:00
Michael Sawyer
280f99d60a Fix assertion when sockets died before tcp_length_done. 2000-07-27 18:36:59 +00:00
David Lawrence
15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
Michael Sawyer
a056a85de0 Improve searchlist code 2000-07-24 18:07:03 +00:00
Andreas Gustafsson
3f290e501e don't use initial capital letter in log message 2000-07-21 23:04:44 +00:00
Brian Wellington
4e160a846f Removed the tsig keyring, since it's no longer needed. 2000-07-21 22:26:08 +00:00
Michael Sawyer
f840a7bd0d Remove unused variable, fix char*[] variable 2000-07-21 22:25:15 +00:00
Michael Sawyer
8bf0f722f8 Count and possibly limit how many names and rr's in a xfr.
(Needed by GDIB folks)
2000-07-20 19:41:44 +00:00
Brian Wellington
e860332b07 A call to isc_mem_put could pass a different size than was gotten. Use
isc_mem_allocate instead.
2000-07-20 17:58:59 +00:00
Michael Sawyer
26cebf3482 Slight bug in batch processing 2000-07-20 17:56:20 +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
5e804988e9 Add comments to source code 2000-07-18 18:51:40 +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
4b7d316065 A few bug fixes. 2000-07-14 21:33:03 +00:00
Michael Sawyer
925a734426 Handle SIGINT properly during batch mode. 2000-07-14 20:14:36 +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
0840ae769a When doing multi-stage lookups (like +trace and +nss), don't wait for all
of the servers being queried to return results if we only need one of them.
2000-07-13 22:53:51 +00:00
Michael Sawyer
a31dbaa03f Replace +aa option, per AG. 2000-07-13 21:12:21 +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
c5ec9b45bb Lots of duplicate code removed
+tcp mode bug fixed
2000-07-13 18:52:58 +00:00
Michael Sawyer
58cdafb232 Style changes, nothing functional 2000-07-13 02:14:17 +00:00
Michael Sawyer
77365675e9 Use mempools instead of free lists for the comm buffers. 2000-07-13 01:49:44 +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
Michael Sawyer
d2895dd9bb Major changes to how dighost handles lists and shutdown conditions.
Probably not safe to pull up to release branch, since, though it works, it
needs serious testing and more changes are still pending.  In particular,
I INSIST lots of things I didn't used to INSIST, which may be set off
under certain conditions.
2000-07-13 00:32:20 +00:00
Michael Sawyer
de73f221e6 Parenthesis error in trace mode.
(To see delegations in +trace, you need to do +trace +authority in dig. Should
this be defaulted?)
2000-07-12 00:42:54 +00:00
Andreas Gustafsson
969b3374ed no space between function name and arg list 2000-07-12 00:22:57 +00:00
Michael Sawyer
1b4e3f88bb Minor typo in error result 2000-07-11 17:49:02 +00:00
Michael Sawyer
6331b9a45e Don't try and reset timers which aren't being used. 2000-07-11 17:35:49 +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
2386f92414 Change the default timeouts to 30 seconds.
Change the semantics of timeout under TCP mode.
(touch the interval every rcv'd packet, plus increase the timeout greatly
once in the XFR)
2000-07-10 17:25:59 +00:00