Commit Graph

3405 Commits

Author SHA1 Message Date
Andreas Gustafsson
aaaa5b4a62 added missing API version definition file 2000-02-23 18:06:17 +00:00
Andreas Gustafsson
8dca197b5c use .@O@, not .o, in the (unused) zone2_test build rule 2000-02-23 17:36:36 +00:00
Michael Graff
b2f85baf79 lwres library versioning 2000-02-23 02:42:14 +00:00
Michael Graff
b81306ccd1 more lwres_result_t changes 2000-02-23 02:38:55 +00:00
Andreas Gustafsson
e1926adbd1 added comments explaining why we include headers
from both the source tree and the build tree
2000-02-23 01:53:22 +00:00
Michael Graff
01933e9302 start changing from 'int' returns to 'lwres_result_t' 2000-02-23 01:46:34 +00:00
Michael Graff
8a3d2a5738 add compiled file for versioning 2000-02-23 01:40:23 +00:00
Andreas Gustafsson
3eef7eaba0 renamed dns_acl_checkrequest() to ns_client_checkacl()
and moved it to bin/named/client.c to reflect the fact that it
implemented BIND ACL policy more than general-purpose library
functionality; resolve ACL defaults at configuration time
rather than when the ACL is evaluated
2000-02-22 21:24:24 +00:00
Bob Halley
5300bfe023 We now check for queries which require EDNS, and don't try them without
EDNS if the remote server doesn't understand EDNS.
In certain error cases during the construction of a query the resolver tried
to free data twice.
Set AD and CD when making EDNS queries.
If resquery_send() fails after a TCP connection is established, fail the fctx
the same way we do for the UDP case.
Revisions in preparation for DNSSEC validation.
If we get a non-EDNS-related FORMERR from a server that is not a forwarder,
assume that all servers for the zone will return FORMERR.
Cope with YXDOMAIN.
2000-02-19 00:16:41 +00:00
Bob Halley
ef1dabcd5c add dns_validator_t 2000-02-19 00:11:56 +00:00
Bob Halley
f18f3c93e7 add dns_name_requiresedns() 2000-02-19 00:11:21 +00:00
Bob Halley
d1409e874b add XXXRTH comment about CNAME and other data 2000-02-19 00:10:46 +00:00
Michael Graff
7eecba1d43 use forwarders from resolv.conf 2000-02-18 03:53:56 +00:00
Michael Graff
d85ad40f97 remove hex dump of packets sent 2000-02-18 03:53:35 +00:00
Michael Graff
419dd7129f clean 1 bucket every N seconds, or M buckets every 1 seconds. Also, decay goodness 2000-02-18 03:53:00 +00:00
Michael Graff
36bc67f257 more formatting nits 2000-02-18 03:52:34 +00:00
Michael Graff
1fc244c82f parse /etc/resolv.conf, but don't yet do much about it. 2000-02-18 01:37:38 +00:00
Michael Graff
9ca3879f71 formatting nits, and make 'search' work. 2000-02-18 01:09:36 +00:00
Andreas Gustafsson
91a4c38fc9 removed newlines from log messages 2000-02-17 20:06:32 +00:00
Andreas Gustafsson
c0d0a59d1b removed newlines from UNEXPECTED_ERROR() messages 2000-02-17 19:58:59 +00:00
Andreas Gustafsson
dd75e174ec typo in usage message 2000-02-17 19:22:15 +00:00
Andreas Gustafsson
e38cc88b71 deprecated the -b option (use -c instead);
if there was exactly one non-option argument (as in 'named foo')
it was silently ignored - issue a usage message instead;
also issue a usage message if we get an unknown command line option;
update the update message to reflect reality (leaving the -x option
undocumented)
2000-02-17 19:21:00 +00:00
Andreas Gustafsson
377333ac58 include peer address when logging TCP connections and
client requests
2000-02-17 18:18:24 +00:00
Andreas Gustafsson
7e46d184d9 typo in comment 2000-02-16 22:33:47 +00:00
Andreas Gustafsson
9fdf20d0de implemented periodic network interface scanning 2000-02-16 19:58:39 +00:00
Andreas Gustafsson
e0e78c2ce5 log the destruction of network interfaces 2000-02-16 19:57:06 +00:00
Bob Halley
f9c8626738 lint 2000-02-16 18:51:08 +00:00
Andreas Gustafsson
71385229ce use the UNUSED() macro 2000-02-16 18:21:17 +00:00
James Brister
e25765f84a Build new resolv.conf parser tester. 2000-02-16 17:47:37 +00:00
James Brister
ae32d75897 Tester for resolv.conf parser. 2000-02-16 17:46:18 +00:00
James Brister
32ddc0e486 Include new lwconfig.c in the build. 2000-02-16 17:42:49 +00:00
James Brister
4838e5f7c2 various declarations for resolv.conf parser. 2000-02-16 17:42:16 +00:00
James Brister
de20d36fef sample resolv.conf for testing the parser. 2000-02-16 17:40:41 +00:00
James Brister
ffbec84459 resolv.conf parsing routines. 2000-02-16 17:38:28 +00:00
Michael Graff
9094466faf return 'lame' servers, too. This is after all why I put that flag there... 2000-02-16 17:21:41 +00:00
Brian Wellington
9fae7ff638 dns_zone_getssutable/dns_zone_setssutable 2000-02-16 16:37:55 +00:00
Michael Graff
4e675038a0 pseudo-prime ip6.int using a fake query 2000-02-16 02:33:23 +00:00
Michael Graff
5be443d94b implement a 10 minute bitstring-reverse-query avoidance if we tried once and
it failed with ISC_R_FAILURE, DNS_R_SERVFAIL, or DNS_R_FORMERR.
This makes it so we don't try the bitstring lookup when it will most
likely fail.
2000-02-16 01:51:17 +00:00
Michael Graff
c50f9f4103 clean up a bit of old code 2000-02-16 01:49:11 +00:00
Michael Graff
69a7905cf3 return 'avoid_bitstring' in dns_adbaddrinfo_t. If non-zero, the timer hasn't expired.
This means we need to pass 'now' into dns_adb_findaddrinfo() as well, to filter
out timers that have expired.
2000-02-16 00:16:36 +00:00
Brian Wellington
7dc1fe2410 added matchtype support 2000-02-15 21:54:59 +00:00
Brian Wellington
00f4dd128f added ssu.c 2000-02-15 21:52:32 +00:00
Brian Wellington
99fa73cf4c added ssu.h 2000-02-15 21:51:48 +00:00
Brian Wellington
55e001d7ba added support for different pattern types. c file coming later 2000-02-15 20:16:09 +00:00
Andreas Gustafsson
cf755281df typos in comments 2000-02-15 20:05:37 +00:00
Brian Wellington
16a5aa9a57 add dns_ssutable_t 2000-02-15 19:53:18 +00:00
Andreas Gustafsson
fd0bc40a25 IP addresses in ACLs are now represented as
isc_netaddr_t, not isc_sockaddr_t
2000-02-15 19:53:05 +00:00
Andreas Gustafsson
be1395f914 typo 2000-02-15 18:24:26 +00:00
James Brister
b9b814893a Add prototype for dns_c_ipmatchany_new(). 2000-02-15 17:07:52 +00:00
James Brister
0b5d6a2091 Add dns_c_ipmatch_any to dns_c_ipmatch_type_t enum. 2000-02-15 17:06:58 +00:00