Commit Graph

209 Commits

Author SHA1 Message Date
wouter
00c08bc573 Do not query addresses and configuration.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@434 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-18 08:14:44 +00:00
wouter
f3c53a8be9 Deletion error removed.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@425 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-27 09:45:39 +00:00
wouter
28927e74cb fixup in case the operator disables IPv4.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@421 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-22 14:24:00 +00:00
wouter
603c367102 Use new ldns_buffer_copy();
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@416 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-21 12:04:00 +00:00
wouter
ccb373bc2b Neater error for tcp connect problems.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@415 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-21 11:35:12 +00:00
wouter
b8da1acd51 Fixup secondary buffer in case of error callback.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@410 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-21 07:52:51 +00:00
wouter
8c167041e8 duplicate query callbacks work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@408 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-20 14:01:58 +00:00
wouter
d63fdceec2 Fixups.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@406 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-20 13:01:30 +00:00
wouter
67c0d014b9 fixup callbacks deletion.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@405 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-20 09:52:32 +00:00
wouter
57da6743c9 fixup
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@392 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-18 10:27:54 +00:00
wouter
9c569777fb Small off by one in targetcount and double-callback fixup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@389 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-15 08:40:30 +00:00
wouter
1d8bbf7410 slightly more verbose, on retries and dropped replies.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@388 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-13 15:14:23 +00:00
wouter
3359dd17ae addr fixup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@387 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-13 14:47:01 +00:00
wouter
c3cb973c20 fixup comments for doxygen 1.5
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@383 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-12 14:51:49 +00:00
wouter
bcfe623b93 Nicer encoding. fixes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@379 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-11 10:12:43 +00:00
wouter
6947de13ee ip6 functionality.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@376 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-07 15:04:27 +00:00
wouter
777fb87aa5 Tested serval targets, with CNAME's and indirection for recursion and
slumber list.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@374 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-07 13:21:04 +00:00
wouter
603d3c082c Fixup cname target name readout.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@373 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-07 10:38:02 +00:00
wouter
1307e18f33 fixup double linked list insertion code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@372 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-07 07:58:02 +00:00
wouter
d21083c609 - priming failure returns SERVFAIL.
- priming gives LAME result, returns SERVFAIL.
       - debug routine to print dns_msg as handled by iterator.
       - memleak in config file stubs fixup.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@370 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-05 12:54:43 +00:00
wouter
1b1c3ef566 Process target responses, case preservation.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@365 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-04 13:53:01 +00:00
wouter
fddfd9fce9 neater code layout.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@356 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-01 12:25:38 +00:00
wouter
ce582a4765 query targets state.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@352 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-31 12:51:36 +00:00
wouter
56f5c84d57 - Acknowledge use of unbound-java code in iterator. Nicer readme.
- services/cache/dns.c DNS Cache. Hybrid cache uses msgcache and
         rrset cache from module environment.
       - packed rrset key has type and class as easily accessable struct
         members. They are still kept in network format for fast msg encode.
       - dns cache find_delegation routine.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@339 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-25 12:02:37 +00:00
wouter
e8b2e8ded2 root hints.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@335 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-23 14:05:36 +00:00
wouter
d9c43911b2 please lint.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@333 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-23 06:27:23 +00:00
wouter
08d08d6d52 precise timers for roundtrip UDP timeouts.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@332 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-23 06:24:01 +00:00
wouter
87302b3d9b EDNS test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@329 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-22 13:40:49 +00:00
wouter
4bc8319061 outbound queries via serviced outside_network queries.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@327 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-22 12:36:02 +00:00
wouter
c6b4fbb41c Serviced queries in outside network service get full EDNS, UDP retry and
TCP fallback attention.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@326 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-21 15:10:55 +00:00
wouter
e641ee09fd Fixup tests.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@312 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-11 14:33:38 +00:00
wouter
401583e12b iterator module.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@311 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-11 14:16:42 +00:00
wouter
5f3140deaa TCP fallback if forwarder sends TC bit.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@295 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-09 07:00:10 +00:00
wouter
9799917b79 TCP outgoing services.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@294 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-08 13:25:21 +00:00
wouter
ea4a9f56b7 review of worker.c
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@211 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-02 10:16:02 +00:00
wouter
95ec45c352 Use random (thread safe version).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@145 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-26 09:42:05 +00:00
wouter
e4d057d315 New config options.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@138 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-23 11:00:55 +00:00
wouter
3d6f070744 Ports are shared and you can kill -HUP to do a reload (of config file).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@137 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-23 10:04:50 +00:00
wouter
c1332a4525 Config file.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@131 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-20 15:28:27 +00:00
wouter
6827573be5 Small fixes, makes unbound 0.0 work on SunOS4 sparc.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@123 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-16 23:00:31 +00:00
wouter
a08460abbd Compilation fixes for portability.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@120 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-16 18:21:14 +00:00
wouter
1b77d91d19 verbosity works.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@109 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-15 15:50:22 +00:00
wouter
fa486efa61 Fixup - rebalancing the tree during delete would be bad.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@108 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-15 15:32:02 +00:00
wouter
fbac4f0396 Fixups.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@107 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-15 15:23:24 +00:00
wouter
110122ab6a fake event replaces link signture of event handling.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@83 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-08 16:47:06 +00:00
wouter
1690d69b41 tcp input.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@75 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-07 14:18:42 +00:00
wouter
7e335eadfd please lint and doxygen.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@73 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-07 10:11:26 +00:00
wouter
7b9a305fa9 BSD needs: addrlen set when calling recvfrom.
And it has length/padding for sockaddr structures.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@72 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-07 10:08:55 +00:00
wouter
b1ef3bea96 review of services, daemon and testcode.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@70 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-06 16:26:19 +00:00
wouter
ae8629bc68 Constants for netevent callback error value.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@66 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-05 14:25:07 +00:00
wouter
ca1b2ec0f0 Functioning DNS udp forwarding.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@59 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-02 13:44:00 +00:00
wouter
44f08bbf93 Commandline options to set forwarder, udp timeout.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@58 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-02 12:52:40 +00:00
wouter
d7e39e8e3b Listen to both 4 and 6.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@57 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-02 10:31:25 +00:00
wouter
66c41ab563 doxygen
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@54 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-02 10:19:08 +00:00
wouter
c88a8e33df IPV6_V6ONLY and IP6_MIN_MTU socket options needed.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@53 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-02 10:13:18 +00:00
wouter
b036b6c474 udp4 and udp6.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@51 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-02 09:48:51 +00:00
wouter
2beefc6aaf lint
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@50 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-01 15:08:58 +00:00
wouter
b8af1e369c - outside network more UDP work.
- moved * closer to type.
       - comm_timer object and events.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@49 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-01 15:06:38 +00:00
wouter
8ad21e5fd8 outside_network start.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@48 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-31 15:38:44 +00:00