- May 19, 2015
-
-
Marek Vavruša authored
-
Marek Vavruša authored
-
Marek Vavruša authored
-
Marek Vavruša authored
-
Marek Vavruša authored
-
Marek Vavruša authored
this fixes a regression when a final name has a dependency with a short TTL in the search path, but has longer TTL itself in another words - if there's a CDN in the middle and the name doesn't exist, answer it from the cache without requerying the CDN
-
- May 18, 2015
-
-
Marek Vavruša authored
-
- May 13, 2015
-
-
Marek Vavruša authored
This reverts commit 3d1ee641.
-
Marek Vavruša authored
This reverts commit ee2cce4d.
-
Marek Vavruša authored
-
Marek Vavruša authored
previously only queried names were resolved from cache, this meant that if the target name was present in cache but a server on the search path dropped from it, it would refetch it - this is a problem when a loadbalancer with very short TTL was in search path
-
Marek Vavruša authored
-
Marek Vavruša authored
-
Marek Vavruša authored
if the flag is left on, it prevents further caching
-
- May 10, 2015
-
-
Marek Vavruša authored
the resolution has to start from the root for zonecut resolution, otherwise it might stall resolution if the only good NS drops out of cache and only the bad remain
-
Marek Vavruša authored
-
Marek Vavruša authored
-
- May 09, 2015
-
-
Marek Vavruša authored
-
- May 06, 2015
-
-
Marek Vavruša authored
module api can now store userdata, e.g. owner
-
- May 05, 2015
-
-
Marek Vavruša authored
-
Marek Vavruša authored
-
Marek Vavruša authored
-
- May 03, 2015
-
-
Marek Vavruša authored
-
Marek Vavruša authored
-
Marek Vavruša authored
the pktcache introduces two cache tags PKT/SEC for basic/DNSSEC responses and stores negative answers in the cache
-
Marek Vavruša authored
previously producers in overlay could only generate query or update the final answer - this required exported callbacks from iterate.c and specific processing. this wouldn’t work for negative cache, as it would be required to reimplement whole iterate layer for cached data the new workflow allows produce layers to generate answer instead, this answer is then consumed in the next step by the iterate module in unified fashion for all caches/generators
-
Marek Vavruša authored
this fixes stripped DNSSEC records in final answer
-
Marek Vavruša authored
the server responds with edns0 if the client requests it, it also uses DNSSEC for queries if DO=1 the obtained records are not however validated
-
Marek Vavruša authored
-
- May 02, 2015
-
-
Marek Vavruša authored
the api is still a global variable, but it would be the best if the namedb_t carried the pointer to the api, so it needs to change in libknot later
-
Marek Vavruša authored
each asset is tagged by a byte defining its type and importance this is a groundwork for negative cache and packet cache abstracted the code in preparation for different backends
-
Marek Vavruša authored
if the server doesn’t understand edns0, replies with notimpl, formerr or sends bad badly formed response, we try basic dns query (ns0.rbsov.bbc.co.uk)
-
- Apr 30, 2015
-
-
Marek Vavruša authored
-
- Apr 28, 2015
-
-
Marek Vavruša authored
previously cryptolib random function was used to generate message id, this works well but it is slow especially when the entropy is low, replaced with cryptographically safe prng ISAAC the ccan directory is going to be used in the future, as it's include structure makes it easy to embed C snippets instead of reimplementing them
-
Marek Vavruša authored
the encloser might exist and contain valid data, the resolver would return wrong records in this case
-
Marek Vavruša authored
-
Marek Vavruša authored
refs #15
-
- Apr 27, 2015
-
-
Marek Vavruša authored
-
- Apr 26, 2015
-
-
Marek Vavruša authored
-
Marek Vavruša authored
* each query is assigned a task * each task contains request, some primitives and mempool * worker can process multiple tasks at once and offload I/O to event loop Not finished: * it depends on icmp/system timeouts, #22 * tcp reads are going to be bad if the messages arrive fragmented #21
-