]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
10 years agodoc: cleanup
Marek Vavruša [Thu, 12 Nov 2015 16:58:45 +0000 (17:58 +0100)] 
doc: cleanup

10 years agoMerge remote-tracking branch 'origin/stubmode'
Marek Vavruša [Thu, 12 Nov 2015 16:57:05 +0000 (17:57 +0100)] 
Merge remote-tracking branch 'origin/stubmode'

10 years agomodules/tinyweb: simplified without channels
Marek Vavruša [Thu, 12 Nov 2015 16:55:39 +0000 (17:55 +0100)] 
modules/tinyweb: simplified without channels

10 years agolib: cleanup unused variable
Marek Vavruša [Thu, 12 Nov 2015 16:55:13 +0000 (17:55 +0100)] 
lib: cleanup unused variable

10 years agodaemon: cleanup rr scanning
Marek Vavruša [Thu, 12 Nov 2015 16:54:53 +0000 (17:54 +0100)] 
daemon: cleanup rr scanning

10 years agodaemon: use writemap to work around latency when busy
Marek Vavruša [Thu, 12 Nov 2015 16:54:17 +0000 (17:54 +0100)] 
daemon: use writemap to work around latency when busy

10 years agomodules/tinyweb: added favicon
Marek Vavruša [Thu, 5 Nov 2015 09:57:55 +0000 (10:57 +0100)] 
modules/tinyweb: added favicon

10 years agolib/rrcache: handle qname/cname traversal when it fails
Marek Vavruša [Tue, 3 Nov 2015 16:08:36 +0000 (17:08 +0100)] 
lib/rrcache: handle qname/cname traversal when it fails

10 years agolib/resolve: do not do root priming in hotpath
Marek Vavruša [Tue, 3 Nov 2015 14:36:55 +0000 (15:36 +0100)] 
lib/resolve: do not do root priming in hotpath

refs #16

10 years agodaemon: fixed race condition when canceling one event multiple times
Marek Vavruša [Tue, 3 Nov 2015 14:32:33 +0000 (15:32 +0100)] 
daemon: fixed race condition when canceling one event multiple times

10 years agobuild: removed libknot vercheck, .pc fail with this
Marek Vavruša [Thu, 29 Oct 2015 13:32:23 +0000 (14:32 +0100)] 
build: removed libknot vercheck, .pc fail with this

10 years agodnssec/signature: fixed cid#131821
Marek Vavruša [Thu, 29 Oct 2015 13:16:37 +0000 (14:16 +0100)] 
dnssec/signature: fixed cid#131821

10 years agodnssec/nsec3: fixed cid#131822 and cid#131820
Marek Vavruša [Thu, 29 Oct 2015 13:16:18 +0000 (14:16 +0100)] 
dnssec/nsec3: fixed cid#131822 and cid#131820

10 years agodoc: added known packaged dependencies (incomplete)
Marek Vavruša [Wed, 28 Oct 2015 16:08:33 +0000 (17:08 +0100)] 
doc: added known packaged dependencies (incomplete)

10 years agobuild: added pkg-config version requirements to Makefile
Marek Vavruša [Wed, 28 Oct 2015 15:55:21 +0000 (16:55 +0100)] 
build: added pkg-config version requirements to Makefile

10 years agomodules/policy+view: new policy.FORWARD(dst) and policy.all matching rule
Marek Vavruša [Wed, 28 Oct 2015 15:38:24 +0000 (16:38 +0100)] 
modules/policy+view: new policy.FORWARD(dst) and policy.all matching rule

this is Unbound's 'forward-zone' on steroids

10 years agolib/resolve: stub resolution with predefined address
Marek Vavruša [Wed, 28 Oct 2015 15:33:27 +0000 (16:33 +0100)] 
lib/resolve: stub resolution with predefined address

the library is able to resolve query in stub mode (no referral chasing,
zone cut lookup) if asked to
validator turns off for stub queries, validating stub is NYI

10 years agolib/nsrep: force resolution with given NS address
Marek Vavruša [Wed, 28 Oct 2015 15:31:34 +0000 (16:31 +0100)] 
lib/nsrep: force resolution with given NS address

10 years agolib/validate: fixed NODATA proof when synthesised from * ENT
Marek Vavruša [Tue, 27 Oct 2015 23:15:13 +0000 (00:15 +0100)] 
lib/validate: fixed NODATA proof when synthesised from * ENT

thanks to Pieter Lexis and Peter van Dijk from PowerDNS for discovering this.

10 years agodnssec/nsec: removed a bunch of dead/cruft code, added comments
Marek Vavruša [Tue, 27 Oct 2015 23:12:07 +0000 (00:12 +0100)] 
dnssec/nsec: removed a bunch of dead/cruft code, added comments

10 years agodnssec/nsec: fixed name non-existence check
Marek Vavruša [Tue, 27 Oct 2015 23:10:36 +0000 (00:10 +0100)] 
dnssec/nsec: fixed name non-existence check

the RFC4035 M < S < N stands if the S isn’t after the last name in the zone, this is indicated by M > N, proving that the next of the last name is the first name; if the S is after M, then it proves it’s non-existence

thanks to Pieter Lexis and Peter van Dijk from PowerDNS for discovering this!

10 years agodaemon/lua: qry:resolved() and qry:final()
Marek Vavruša [Tue, 27 Oct 2015 23:07:37 +0000 (00:07 +0100)] 
daemon/lua: qry:resolved() and qry:final()

resolved() returns true if current query is resolved (i.e. authoritative)
final() returns true if current query is resolved and is not a subrequest (has no parent)

10 years agomodules/dns64: introduced module
Marek Vavruša [Tue, 27 Oct 2015 11:23:41 +0000 (12:23 +0100)] 
modules/dns64: introduced module

10 years agodaemon/lua: kr_query_t.name() includes last root label
Marek Vavruša [Tue, 27 Oct 2015 09:07:56 +0000 (10:07 +0100)] 
daemon/lua: kr_query_t.name() includes last root label

10 years agodaemon/lua: str2ip conversion function
Marek Vavruša [Tue, 27 Oct 2015 09:07:12 +0000 (10:07 +0100)] 
daemon/lua: str2ip conversion function

10 years agolib: request holds authority/additional RRs for finalization
Marek Vavruša [Tue, 27 Oct 2015 09:06:53 +0000 (10:06 +0100)] 
lib: request holds authority/additional RRs for finalization

as the libknot packet interface disallows out-of-order packet
writes, authority and additional records must be written after
the answer is complete; records in the rr arrays will be written to final answer during finalization

10 years agolib/cache: noted that rank is limited to 6 bits
Marek Vavruša [Tue, 27 Oct 2015 09:03:39 +0000 (10:03 +0100)] 
lib/cache: noted that rank is limited to 6 bits

10 years agomodules/tinyweb: border thickness
Marek Vavruša [Mon, 26 Oct 2015 15:18:08 +0000 (16:18 +0100)] 
modules/tinyweb: border thickness

10 years agomodules/tinyweb: zoomable
Marek Vavruša [Mon, 26 Oct 2015 15:14:17 +0000 (16:14 +0100)] 
modules/tinyweb: zoomable

10 years agomodules/tinyweb: population quantile for bracketing
Marek Vavruša [Mon, 26 Oct 2015 14:33:24 +0000 (15:33 +0100)] 
modules/tinyweb: population quantile for bracketing

this yields much better contrast in this situation, where
one country overshadows the rest on a linear scale

10 years agomodules/tinyweb: units, colouring
Marek Vavruša [Mon, 26 Oct 2015 14:26:17 +0000 (15:26 +0100)] 
modules/tinyweb: units, colouring

10 years agomodules/tinyweb: feed exports country code as well
Marek Vavruša [Mon, 26 Oct 2015 14:08:51 +0000 (15:08 +0100)] 
modules/tinyweb: feed exports country code as well

10 years agomodules/tinyweb: added legend, fill bracketing, updated map visualization
Marek Vavruša [Mon, 26 Oct 2015 14:07:44 +0000 (15:07 +0100)] 
modules/tinyweb: added legend, fill bracketing, updated map visualization

10 years agolib/resolve: consider only distance between cut-nonterm
Marek Vavruša [Sat, 24 Oct 2015 10:05:35 +0000 (12:05 +0200)] 
lib/resolve: consider only distance between cut-nonterm

10 years agomodules/tinyweb: improved axes on stats plot
Marek Vavruša [Fri, 23 Oct 2015 22:14:01 +0000 (00:14 +0200)] 
modules/tinyweb: improved axes on stats plot

10 years agomodules/tinyweb: updated Epoch to 0.8.3 (bugfixes)
Marek Vavruša [Fri, 23 Oct 2015 22:13:43 +0000 (00:13 +0200)] 
modules/tinyweb: updated Epoch to 0.8.3 (bugfixes)

10 years agolib/resolve: minim=off when there is NODATA between cached target/cut
Marek Vavruša [Fri, 23 Oct 2015 20:31:35 +0000 (22:31 +0200)] 
lib/resolve: minim=off when there is NODATA between cached target/cut

when resolver finds a zone cut from cache, it checks whether there is an empty non-terminal between target QNAME and cached zone cut.
this is indicated by presence of NODATA/NXDOMAIN in packet cache.
if it finds one, it turns off qname minimisation and continues,
this saves one query for empty non-term zones like ‘co.jp’

caveat: only direct child of the cut can be considered (e.g. ‘co.jp’ for ‘jp’), otherwise we would leak information to parent if the zone cut fell out of cache and NODATA existed

10 years agolib/cache: more granular control for rank check on insertion
Marek Vavruša [Fri, 23 Oct 2015 20:14:31 +0000 (22:14 +0200)] 
lib/cache: more granular control for rank check on insertion

for pktcache same or better rank is required (because it’s a direct answer)
for rrcache better rank is required (unless doing write-through)

for both cases, no cache rank check is needed when inserting secure data

security note: this mitigates possible non-auth NS hijacking

10 years agolib/zonecut: shuffle root NS list to lower a.root preference
Marek Vavruša [Fri, 23 Oct 2015 20:33:21 +0000 (22:33 +0200)] 
lib/zonecut: shuffle root NS list to lower a.root preference

reason: a root gives consistently unpredictable performance, which
we cannot take into consideration for the first start. j,k roots
moved to the front as they're everywhere and less loaded than a
swamped with requests from legacy tools

10 years agodoc: modules/tinyweb
Marek Vavruša [Thu, 22 Oct 2015 23:06:34 +0000 (01:06 +0200)] 
doc: modules/tinyweb

10 years agobuild: allow Go 1.5 (without .0)
Marek Vavruša [Thu, 22 Oct 2015 23:02:15 +0000 (01:02 +0200)] 
build: allow Go 1.5 (without .0)

10 years agoiterator+rrcache: do not follow CNAME chains (if not DNSSEC-secured)
Marek Vavruša [Thu, 22 Oct 2015 13:13:01 +0000 (15:13 +0200)] 
iterator+rrcache: do not follow CNAME chains (if not DNSSEC-secured)

[1] shows an attack using spoofed CNAME targets to replace legitimate
entries in resolver cache by speeding up once-per-TTL attack opportunity

as a defense, the resolver almost always requeries CNAME targets and
doesn't store them in cache. the only exception is when the CNAME target
is within current authority, and the answer is DNSSEC-secured

thanks to Toshinori Maeno (@beyondDNS) for pointing this out [2]

[1]: https://tools.ietf.org/id/draft-weaver-dnsext-comprehensive-
resolver-00.html
[2]: https://moin.qmail.jp/DNS/KnotResolver/CNAMEpatch

10 years agodoc: fixed correct README path
Marek Vavruša [Thu, 22 Oct 2015 10:09:36 +0000 (12:09 +0200)] 
doc: fixed correct README path

10 years agomodules/tinyweb: added easing on the map contrast
Marek Vavruša [Thu, 22 Oct 2015 10:06:51 +0000 (12:06 +0200)] 
modules/tinyweb: added easing on the map contrast

10 years agomodules/tinyweb: Go-based module with an embedded web interface
Marek Vavruša [Tue, 20 Oct 2015 08:40:34 +0000 (10:40 +0200)] 
modules/tinyweb: Go-based module with an embedded web interface

10 years agolib/utils: added convenience API for calling module props
Marek Vavruša [Tue, 20 Oct 2015 17:38:23 +0000 (19:38 +0200)] 
lib/utils: added convenience API for calling module props

10 years agodaemon: register props even with just config
Marek Vavruša [Tue, 20 Oct 2015 08:40:49 +0000 (10:40 +0200)] 
daemon: register props even with just config

10 years agomodules: support for modules in Go (needs golang 1.5+)
Marek Vavruša [Mon, 19 Oct 2015 17:41:03 +0000 (19:41 +0200)] 
modules: support for modules in Go (needs golang 1.5+)

10 years agolib/validate: fixed DS proof check in some cases
Marek Vavruša [Mon, 19 Oct 2015 15:07:29 +0000 (17:07 +0200)] 
lib/validate: fixed DS proof check in some cases

when the DS NODATA was proved from a different authority

10 years agodaemon/lua: use knot_pkt_section to work around ABI breakage at libknot 297a1c89
Marek Vavruša [Mon, 19 Oct 2015 14:44:57 +0000 (16:44 +0200)] 
daemon/lua: use knot_pkt_section to work around ABI breakage at libknot 297a1c89

10 years agodaemon: fixed default confval
Marek Vavruša [Mon, 19 Oct 2015 09:46:23 +0000 (11:46 +0200)] 
daemon: fixed default confval

10 years agobuild: report patchversion
Marek Vavruša [Sun, 18 Oct 2015 21:21:05 +0000 (23:21 +0200)] 
build: report patchversion

10 years agoMerge branch 'resumable-layers'
Marek Vavruša [Sun, 18 Oct 2015 21:20:11 +0000 (23:20 +0200)] 
Merge branch 'resumable-layers'

10 years agodaemon: -c to set config file outside of rundir
Marek Vavruša [Sun, 18 Oct 2015 21:18:33 +0000 (23:18 +0200)] 
daemon: -c to set config file outside of rundir

10 years agomodules/hints: generate PTR records as well
Marek Vavruša [Sun, 18 Oct 2015 21:02:07 +0000 (23:02 +0200)] 
modules/hints: generate PTR records as well

in case the address matches multiple names, the lexicographically first domain name is returned

meaning
\5host1\3com is after \5host1\2cz
\5host2 is after \5host1
\3aaa is after \2zz

10 years agodaemon: precedence operators {‘<‘, ‘>’} for modules
Marek Vavruša [Sun, 18 Oct 2015 20:54:48 +0000 (22:54 +0200)] 
daemon: precedence operators {‘<‘, ‘>’} for modules

10 years agodaemon/engine: fixed serialization of nested tables
Marek Vavruša [Sun, 18 Oct 2015 20:55:01 +0000 (22:55 +0200)] 
daemon/engine: fixed serialization of nested tables

10 years agolib/rplan: can now access resolved queries
Marek Vavruša [Thu, 15 Oct 2015 14:32:03 +0000 (16:32 +0200)] 
lib/rplan: can now access resolved queries

10 years agomodules/graphite: ignore when config is empty
Marek Vavruša [Thu, 15 Oct 2015 11:56:55 +0000 (13:56 +0200)] 
modules/graphite: ignore when config is empty

10 years agomodules/cachectl: do not clear private namespaces
Marek Vavruša [Thu, 15 Oct 2015 11:56:16 +0000 (13:56 +0200)] 
modules/cachectl: do not clear private namespaces

10 years agodaemon/worker: fixed memleak after merge
Marek Vavruša [Thu, 15 Oct 2015 11:56:03 +0000 (13:56 +0200)] 
daemon/worker: fixed memleak after merge

10 years agolib/rrcache: accept answers to minimised names
Marek Vavruša [Thu, 15 Oct 2015 09:47:09 +0000 (11:47 +0200)] 
lib/rrcache: accept answers to minimised names

10 years agobuild: PUC-Rio Lua now deprecated, LuaJIT mandatory for daemon
Marek Vavruša [Wed, 14 Oct 2015 17:06:02 +0000 (19:06 +0200)] 
build: PUC-Rio Lua now deprecated, LuaJIT mandatory for daemon

10 years agoMerge branch 'resumable-layers'
Marek Vavruša [Wed, 14 Oct 2015 16:59:53 +0000 (18:59 +0200)] 
Merge branch 'resumable-layers'

10 years agodoc: documented Lua FFI APIs
Marek Vavruša [Wed, 14 Oct 2015 16:59:41 +0000 (18:59 +0200)] 
doc: documented Lua FFI APIs

10 years agolib/validate: enabled YIELD, fixed validator (partially)
Marek Vavruša [Wed, 14 Oct 2015 16:23:09 +0000 (18:23 +0200)] 
lib/validate: enabled YIELD, fixed validator (partially)

validator can now yield, but it doesn't plan the sub-requests directly,
that is still a job of the driver

10 years agolib/resolve: yielded layers can resume with the same parameters
Marek Vavruša [Wed, 14 Oct 2015 08:22:22 +0000 (10:22 +0200)] 
lib/resolve: yielded layers can resume with the same parameters

this caters a use case when a layer needs to issue subrequests before
continuing, so it yields. when the subrequests finish, the layer is
resumed with the same parameters and input

todo: fix validator, that shifted most of the processing to driver

10 years agodaemon/lua: api to manipulate resolution plan
Marek Vavruša [Tue, 13 Oct 2015 17:02:43 +0000 (19:02 +0200)] 
daemon/lua: api to manipulate resolution plan

10 years agolib: new state 'YIELD', layers can interrupt processing with it
Marek Vavruša [Tue, 13 Oct 2015 17:02:21 +0000 (19:02 +0200)] 
lib: new state 'YIELD', layers can interrupt processing with it

this is useful when you need to issue several subrequests before
continuing with the current query, resuming is not supported yet, so it
will requery after the subrequests complete

10 years agolib: layers can now push additional queries freely
Marek Vavruša [Tue, 13 Oct 2015 15:47:27 +0000 (17:47 +0200)] 
lib: layers can now push additional queries freely

current processed query is always in `request->current_query`

10 years agobuild: fixed lua embedding on NetBSD
Marek Vavruša [Tue, 13 Oct 2015 13:05:19 +0000 (15:05 +0200)] 
build: fixed lua embedding on NetBSD

thanks to johan ihren

10 years agolib/pktcache: improved ranking of cached pkts
Marek Vavruša [Mon, 12 Oct 2015 11:25:14 +0000 (13:25 +0200)] 
lib/pktcache: improved ranking of cached pkts

when no validation is attempted, trust level is 'bad'
when validation attempted but insecure, trust level is 'insecure'
otherwise 'secure'

10 years agolib/pktcache: fixed too strict pktcache (no minimised nodata)
Marek Vavruša [Mon, 12 Oct 2015 07:53:28 +0000 (09:53 +0200)] 
lib/pktcache: fixed too strict pktcache (no minimised nodata)

minimised nodata/nxdomain can now be cached if it is
authoritative. also pkt/sec cache are now shared using
the ‘rank’ field to replace insecure version with secure
if needed

10 years agolib/cache: properly cache meta types and RRSIG queries
Marek Vavruša [Sun, 11 Oct 2015 18:24:43 +0000 (20:24 +0200)] 
lib/cache: properly cache meta types and RRSIG queries

10 years agolib/iterate: detect trust chain before writing to packet
Marek Vavruša [Sun, 11 Oct 2015 18:24:13 +0000 (20:24 +0200)] 
lib/iterate: detect trust chain before writing to packet

this is a workaround for missing DEFER operation, as the
validator module can only detect trust chain breakage
(caused by answering from different authority) after the
iterator writes answer. this causes duplicated answer on
uncached queries

10 years agotests: added test to fetch DNSKEY from PC auth
Marek Vavruša [Sun, 11 Oct 2015 18:21:54 +0000 (20:21 +0200)] 
tests: added test to fetch DNSKEY from PC auth

10 years agotests: reparse expected message to merge RRs
Marek Vavruša [Sun, 11 Oct 2015 18:21:23 +0000 (20:21 +0200)] 
tests: reparse expected message to merge RRs

10 years agolib/validated: fixed fetching of DNSKEY when NS is auth for p-c
Marek Vavruša [Sun, 11 Oct 2015 14:10:10 +0000 (16:10 +0200)] 
lib/validated: fixed fetching of DNSKEY when NS is auth for p-c

this doesn’t fix record duplication in answer when not answered from cache

10 years agolib/resolve: eliminated some redundant DNSKEY fetches
Marek Vavruša [Sun, 11 Oct 2015 14:05:57 +0000 (16:05 +0200)] 
lib/resolve: eliminated some redundant DNSKEY fetches

10 years agolib/dnssec: fixed bad nsec bitmap check
Marek Vavruša [Sun, 11 Oct 2015 14:04:44 +0000 (16:04 +0200)] 
lib/dnssec: fixed bad nsec bitmap check

missing boundary checking and bad offset calculation

todo:
the code presumes little endian, didn’t get to  fix that

10 years agolib/zonecut: fixed lengths of IPv6 root hints
Marek Vavruša [Sat, 10 Oct 2015 17:41:10 +0000 (19:41 +0200)] 
lib/zonecut: fixed lengths of IPv6 root hints

10 years agodaemon/io: reassemble DNS/TCP message fragments
Marek Vavruša [Sat, 10 Oct 2015 17:40:53 +0000 (19:40 +0200)] 
daemon/io: reassemble DNS/TCP message fragments

10 years agolib/resolve: better processing for RD=0 or ANY
Marek Vavruša [Sat, 10 Oct 2015 17:40:07 +0000 (19:40 +0200)] 
lib/resolve: better processing for RD=0 or ANY

if the query has RD=0 or is ANY, only cache is probed
for ANY, only A/AAAA/MX is checked and no query is
forwarded to the authoritatives

10 years agolib/validate: want dnssec for cached cname chains
Marek Vavruša [Fri, 9 Oct 2015 09:52:08 +0000 (11:52 +0200)] 
lib/validate: want dnssec for cached cname chains

10 years agodoc: documented resolve() v1.0.0-beta1
Marek Vavruša [Thu, 8 Oct 2015 13:00:22 +0000 (15:00 +0200)] 
doc: documented resolve()

10 years agodaemon: change user privileges
Marek Vavruša [Wed, 7 Oct 2015 14:53:38 +0000 (16:53 +0200)] 
daemon: change user privileges

10 years agodaemon/lua: use default config after the config is processed
Marek Vavruša [Wed, 7 Oct 2015 14:53:24 +0000 (16:53 +0200)] 
daemon/lua: use default config after the config is processed

i.e. if the user doesn't set the cache, it will be applied later
if he sets it, it will stay

10 years agodaemon/network: check port as well when binding to interface
Marek Vavruša [Wed, 7 Oct 2015 14:52:06 +0000 (16:52 +0200)] 
daemon/network: check port as well when binding to interface

10 years agodaemon/worker: cherry-picked refcounting for worker tasks
Marek Vavruša [Wed, 7 Oct 2015 09:59:15 +0000 (11:59 +0200)] 
daemon/worker: cherry-picked refcounting for worker tasks

this is going to be needed for issuing multiple timed queries + fast
retry

10 years agodaemon/network: fixed early free with async close
Marek Vavruša [Wed, 7 Oct 2015 09:45:47 +0000 (11:45 +0200)] 
daemon/network: fixed early free with async close

10 years agodoc: update
Marek Vavruša [Tue, 6 Oct 2015 22:41:05 +0000 (00:41 +0200)] 
doc: update

10 years agolib: bumped default payload
Marek Vavruša [Tue, 6 Oct 2015 22:35:00 +0000 (00:35 +0200)] 
lib: bumped default payload

10 years agodaemon: `net.ipv{4,6} = true|false`
Marek Vavruša [Tue, 6 Oct 2015 22:34:48 +0000 (00:34 +0200)] 
daemon: `net.ipv{4,6} = true|false`

effectively enables/disables usage of given IP protocol
for subrequests (the server can still listen on these)

10 years agodaemon/worker: respect larger OPT payload when configured
Marek Vavruša [Tue, 6 Oct 2015 22:30:36 +0000 (00:30 +0200)] 
daemon/worker: respect larger OPT payload when configured

10 years agolib/zonecut: added new H root addrs + ipv6s
Marek Vavruša [Tue, 6 Oct 2015 22:29:53 +0000 (00:29 +0200)] 
lib/zonecut: added new H root addrs + ipv6s

10 years agolib/validate: do not revalidate nodata/nxdomain proofs
Marek Vavruša [Tue, 6 Oct 2015 18:19:58 +0000 (20:19 +0200)] 
lib/validate: do not revalidate nodata/nxdomain proofs

10 years agolib/rrcache: respect RANK_INSECURE when fetching answers
Marek Vavruša [Tue, 6 Oct 2015 18:04:10 +0000 (20:04 +0200)] 
lib/rrcache: respect RANK_INSECURE when fetching answers

if the answer is flagged as insecure, it means that the resolver tried
to validate it, but couldn't (e.g. trust chain doesn't exist)

10 years agolib/cache: check entry rank and TTD before overwriting it
Marek Vavruša [Tue, 6 Oct 2015 17:56:49 +0000 (19:56 +0200)] 
lib/cache: check entry rank and TTD before overwriting it

10 years agolib/cache: updated API to insert/retrieve entry rank
Marek Vavruša [Tue, 6 Oct 2015 17:50:38 +0000 (19:50 +0200)] 
lib/cache: updated API to insert/retrieve entry rank

10 years agolib/rrmap: added record map ranking
Marek Vavruša [Tue, 6 Oct 2015 17:40:08 +0000 (19:40 +0200)] 
lib/rrmap: added record map ranking