summaryrefslogtreecommitdiff
path: root/src/cache.c
Commit message (Collapse)AuthorAgeFilesLines
* Log port of requestor when doing extra logging.v2.73test4Simon Kelley2015-01-121-3/+3
|
* Add --min-cache-ttl option.RinSatsuki2015-01-101-1/+3
|
* Add --log-queries=extra option for more complete logging.Simon Kelley2015-01-091-1/+10
|
* Make caching work for CNAMEs pointing to A/AAAA records shadowed in /etc/hostsSimon Kelley2014-12-211-9/+25
| | | | | | | | If the answer to an upstream query is a CNAME which points to an A/AAAA record which also exists in /etc/hosts and friends, then caching is suppressed, to avoid inconsistent answers. This is now modified to allow caching when the upstream and local A/AAAA records have the same value.
* Tweak field width in cache dump to avoid truncating IPv6 addresses.v2.73test1Simon Kelley2014-12-171-2/+2
|
* Fix bug when resulted in NXDOMAIN answers instead of NODATA.Simon Kelley2014-09-181-2/+2
| | | | | | | | | | check_for_local_domain() was broken due to new code matching F_* bits in cache entries for DNSSEC. Because F_DNSKEY | F_DS is used to match RRSIG entries, cache_find_by_name() insists on an exact match of those bits. So adding F_DS to the bits that check_for_local_domain() sends to cache_find_by_name() won't result in DS records as well as the others, it results in only DS records. Add a new bit, F_NSIGMATCH which suitably changes the behaviour of cache_find_by_name().
* Log IPSET actions.v2.69rc2Wang Jian2014-03-281-0/+7
|
* Cache stats availble in CHAOS .bind domain.Simon Kelley2014-03-271-0/+95
|
* Tidy uid defines.Andy2014-03-221-1/+1
|
* Tidy and fix cache->uid handling.Simon Kelley2014-03-181-10/+15
| | | | | | | | | | | | Some CNAMES left the value of ->uid undefined. Since there are now special values if this, for CNAMES to interface names, that could cause a crash if the undefined value hit the special value. Also ensure that the special value can't arise when the uid is encoding the source of an F_CONFIG record, in case there's a CNAME to it.
* Ensure next_uid() can never return 0.Andy2014-03-171-2/+4
|
* Handle integer overflow in uid counter. Fixes rare crashes in cache code.Simon Kelley2014-03-161-10/+17
|
* Don't free blockdata for negative DS cache entries.Simon Kelley2014-03-011-1/+1
|
* Negative caching for DS records.Simon Kelley2014-02-271-18/+16
|
* Don't mess with the TTL of DNSSEC RRs.Simon Kelley2014-02-131-5/+7
|
* Use DS records as trust anchors, not DNSKEYs.v2.69test8Simon Kelley2014-02-111-10/+10
| | | | | This allows us to query for the root zone DNSKEY RRset and validate it, thus automatically handling KSK rollover.
* Fix DNSSEC caching problems: incomplete RRSIG RRsets.Simon Kelley2014-02-101-1/+1
|
* Fix stack-smashing crash in DNSSEC. Thanks to Henk Jan Agteresch.Simon Kelley2014-02-061-7/+38
|
* Make RR work when returning A/AAAA records and an RRSIG.Simon Kelley2014-02-041-3/+6
|
* Log NXDOMAIN correctly.Simon Kelley2014-02-031-8/+1
|
* Return configured DNSKEYs even though we don't have RRSIGS for them.Simon Kelley2014-02-031-1/+1
|
* Nasty cache failure and memory leak with DNSSEC.Simon Kelley2014-02-031-5/+23
|
* Blockdata fixes and tuning.Simon Kelley2014-01-311-5/+18
|
* Blockdata leak.Simon Kelley2014-01-311-1/+2
|
* Crash in cache code when compiled with HAVE_DNSSEC.Simon Kelley2014-01-281-1/+2
|
* Class specifier in --dnskey, instead of hardwiring C_IN.Simon Kelley2014-01-251-1/+1
|
* RRSIGS for PTR records from cache.Simon Kelley2014-01-241-1/+1
|
* RRSIGs in DS and DNSKEY cached answers.Simon Kelley2014-01-231-8/+8
|
* More DNSSEC cache readout.Simon Kelley2014-01-231-33/+12
|
* Compiler warning.Simon Kelley2014-01-231-1/+1
|
* Cache RRSIGS.Simon Kelley2014-01-221-13/+36
|
* Caching of DNSSEC records.Simon Kelley2014-01-221-27/+80
|
* Set AD bit for address replies from /etc/hosts &cSimon Kelley2014-01-101-7/+7
|
* Memory stats for DNSSEC.Simon Kelley2014-01-081-0/+3
|
* Move blockdata to it's own file.Simon Kelley2014-01-081-83/+1
|
* Update copyright for 2014.Simon Kelley2014-01-081-1/+1
|
* First functional DNSSEC - highly alpha.Simon Kelley2014-01-081-17/+66
|
* backupSimon Kelley2013-12-311-10/+10
|
* Merge branch 'master' into dnssecSimon Kelley2013-12-121-17/+17
|\
| * Add missing malloc() return-code check.Simon Kelley2013-11-261-8/+8
| |
| * Segfault with some CNAMEs. Also memory leak on reload of /etc/hosts.v2.68rc3Simon Kelley2013-11-251-10/+10
| |
* | Merge branch 'master' into dnssecSimon Kelley2013-11-141-1/+1
|\ \ | |/
| * Fix check for local domains in CNAME case. Fixes ↵v2.68test1Simon Kelley2013-10-281-1/+1
| | | | | | | | d56a604a9600c08d4a863527d549713c07f0186d
* | Merge branch 'master' into dnssecSimon Kelley2013-10-251-12/+44
|\ \ | |/ | | | | | | | | | | Conflicts: src/dnsmasq.h src/forward.c src/option.c
| * Always answer queries for authoritative zones locally, never forward.Simon Kelley2013-10-181-0/+3
| |
| * CNAMEs can now point to interface names.Simon Kelley2013-10-111-12/+41
| |
* | Remove unused variable.Giovanni Bajo2013-08-201-2/+0
| |
* | Helper function to walk through keydata chained blocks.Giovanni Bajo2013-08-201-0/+17
| |
* | Rename key cache field.Giovanni Bajo2013-08-201-1/+1
| |
* | Fix bug in keydata_alloc()Giovanni Bajo2013-08-201-3/+6
|/