Commit Graph
779 Commits
Author SHA1 Message Date
David Lawrence 7cad5b3dbb use isc_log_wouldlog() to see whether to call log_rr(), and in log_rr()
don't bother using isc_buffer_usedregion() since the desired region
values are easily accessible with the isc_buffer_used{,length}() functions.
2000-08-09 04:17:49 +00:00
David Lawrence 40817ed9c1 378. [func] named and lwresd will log the command line arguments
they were started with in the "starting ..." message.
[RT #165]
2000-08-09 03:44:42 +00:00
Andreas Gustafsson e605e98f3e use DNS_NAME_MAXTEXT/DNS_NAME_FORMATSIZE 2000-08-09 00:09:36 +00:00
Andreas Gustafsson ff56121a98 use isc_log_wouldlog() 2000-08-08 23:57:13 +00:00
Andreas Gustafsson b232fc9f06 style 2000-08-08 23:56:10 +00:00
Andreas Gustafsson 0df41d7b0f more decrufting 2000-08-08 23:37:05 +00:00
Andreas Gustafsson 7048bc2b71 wired up and implemented the max-names zone option (for GNI) 2000-08-08 23:14:29 +00:00
Andreas Gustafsson 40b1b44ed6 377. [bug] WHen additional data lookups were refused due to
allow-query, the databases were still being
                        attached causing reference leaks.
2000-08-08 19:16:19 +00:00
Brian Wellington ab8668fb58 376. [bug] The server should always use good entropy when
performing cryptographic functions needing entropy.
2000-08-08 18:15:18 +00:00
Andreas Gustafsson 575db903aa 375. [bug] Per-zone allow-query did not properly override the
view/global one for CNAME targets and additional
                        data [RT #220].
2000-08-08 17:14:33 +00:00
Andreas Gustafsson b534d5f57f INSIST added in previous change did not compile 2000-08-08 01:56:44 +00:00
Andreas Gustafsson 2ebe19d1a2 SOA in authoritative negative responses had wrong TTL (RT #212) 2000-08-08 00:46:00 +00:00
Andreas Gustafsson 992b1b2aee rephrased a comment; added an INSIST 2000-08-08 00:44:21 +00:00
Andreas Gustafsson 91614f2bc4 don't try to remove newline from the output
of dns_rdataset_totext() if it returned failure
2000-08-07 20:41:52 +00:00
Michael Graff dd7682a5de only check in the view if it isn't NULL 2000-08-03 00:41:26 +00:00
Michael Graff cb9aa603ab wire up the {min,max}-{refresh,retry}-time stuff 2000-08-02 22:29:16 +00:00
David Lawrence 076c955ef0 use an isc_constregion_t for the region that points to the authors.bind name 2000-08-02 20:55:40 +00:00
David Lawrence dbe4e41b81 what an idiot. I accidentally removed the const in my last revision. 2000-08-02 20:47:21 +00:00
David Lawrence 03a89d7938 literal strings are type char, not unsigned char 2000-08-02 20:44:31 +00:00
Brian Wellington bd77de5fca 368. [func] Restructure the internal ".bind" view so that more
zones can be added to it.
2000-08-02 18:13:08 +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 Graff 6d3496c045 Implement additional-from-{glue,auth} [ yes | no ] ;
with yes being the default.  These control searching in the cache and
other zones we are authorative for.  This is mostly for gdib, but
may be useful elsewhere.

The config changes are renaming from glue-from-* to additional-from-*,
since this also prevents DNAME, CNAME, NS, MX, etc. additional data
from being followed.
2000-07-31 21:07:07 +00:00
Michael Graff b4dfb47474 whitespace police 2000-07-31 19:36:48 +00:00
David Lawrence 15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
Andreas Gustafsson 4d9b99ccb2 the client control event should be a server event,
not a DNS library event
2000-07-26 23:45:55 +00:00
Michael Sawyer 761a1c3761 Add sanitizer and hide per-master key code behind sanitizing #ifdefs 2000-07-26 18:47:43 +00:00
Andreas Gustafsson a32738e3e4 352. [bug] Race condition in dns_client_t startup could cause
an assertion failure.
2000-07-26 17:39:12 +00:00
Brian Wellington 1702f1a0fe Add a 'fetchoptions' field to the query structure, which is currently 0
unless the query has the cd bit set.
2000-07-25 21:37:05 +00:00
Brian Wellington 7e0d7323d7 Detach from the iplist obtained from *_getalsonotify. 2000-07-25 20:26:11 +00:00
Brian Wellington 5d9e3392b2 Add support for the cd (checking disabled) bit. Setting the cd bit in a
query still doesn't completely work, since the resolver needs to be modified
also.  Basically, if data is in the cache and trust == pending, it will now
be returned when the cd bit is set.
2000-07-25 01:06:18 +00:00
Michael Graff ef653fbdb1 implement 'notify [ yes | no | explicit ]' 2000-07-24 22:59:44 +00:00
Andreas Gustafsson 4abad71e79 bumped recursive client quota from 100 to 1000 2000-07-24 18:45:50 +00:00
Michael Sawyer 0371079513 Wire up key option in masters line. 2000-07-21 23:13:59 +00:00
Michael Sawyer 9b72c4648f Internal code for masters with key entries. Not wired into config yet. 2000-07-21 18:47:23 +00:00
Andreas Gustafsson b0e67b3020 removed unnecessary call to isc_socket_cancel() 2000-07-19 20:34:14 +00:00
Brian Wellington 70c2802fd7 In query_addbestns, check that both the rdataset and sigrdataset are not
pending before adding them.
2000-07-18 22:24:45 +00:00
Brian Wellington 663841abe0 338. [bug] lwresd logged to syslog as named, not lwresd. 2000-07-18 17:50:02 +00:00
Brian Wellington 9df7d74e42 Use isc_base64_decodestring() instead of an explicit lexer. 2000-07-18 01:14:17 +00:00
Brian Wellington 7a184cd4e5 don't copy a name structure, copy a pointer. 2000-07-18 00:44:52 +00:00
Andreas Gustafsson 3668b37b8b cleaner, but more invasive, fix to 335. 2000-07-17 23:19:14 +00:00
Brian Wellington 178f73169a 335. [bug] named would occasionally attempt recursion when
it was disallowed or undesired.
2000-07-17 18:43:32 +00:00
Andreas Gustafsson d987e0d8e8 reviewed and edited; removed lwres intro material
that is better covered in lwres(3)
2000-07-17 17:49:25 +00:00
David Lawrence 1867b6276e char secret[], for decoding the base64 string, should not have been const 2000-07-14 14:57:24 +00:00
Mark Andrews 8d51d9e67e 331. [bug] Only log "recursion denied" if RD is set. (RT #178) 2000-07-14 02:26:22 +00:00
Brian Wellington 720319de67 Call isc_log_wouldlog in ns_client_log 2000-07-13 00:21:27 +00:00
David Lawrence 3dae6c4675 minor cleanups from review 2000-07-12 19:39:49 +00:00
Brian Wellington 8d790f3e95 When lwresd is shutting down, don't explicitly send shutdown events to the
clientmgr tasks, since the task manager already sends them.
2000-07-12 19:03:08 +00:00
David Lawrence e9729674d6 don't warn about missing keys{} clause or non-inet type, since the config
parser will have already warned about that.
2000-07-12 15:33:41 +00:00
Andreas Gustafsson 52eae74966 reviewed and edited 2000-07-12 02:07:32 +00:00
David Lawrence eae2a15326 use ns_g_server->aclenv to match localhost and localnets in the allow{} clause 2000-07-11 23:02:32 +00:00