]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
lib/layer: answer both m12n/full names from cache
authorMarek Vavruša <marek.vavrusa@nic.cz>
Wed, 13 May 2015 09:52:16 +0000 (11:52 +0200)
committerMarek Vavruša <marek.vavrusa@nic.cz>
Wed, 13 May 2015 09:52:16 +0000 (11:52 +0200)
commit3d1ee64186c8f29c98df143b992660dfd95d4805
tree47ddef760d5c991c6b20843eb88200504e24294e
parent247050867c019ca88e76aa3f65f8292b4b97b057
lib/layer: answer both m12n/full names from cache

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
lib/layer/iterate.c
lib/layer/pktcache.c
lib/layer/rrcache.c