Use A(AAA) when querying for domain on cache expire
authorRafał Miłecki <rafal@milecki.pl>
Tue, 14 Feb 2017 12:55:46 +0000 (13:55 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Wed, 15 Feb 2017 10:15:10 +0000 (11:15 +0100)
commit267686c21f4b31346839ae1d4085d4990fcdc63c
tree8f6c6c13fcc6f2c751dbec40a91570e89857a28d
parent55138ca9b501bd32c870bb468d6736a42d026cfb
Use A(AAA) when querying for domain on cache expire

When cache entry is (halfly) expired we send query to get an update. So
far we were sending all queries using PTR records but for cached domains
it should be A(AAA) instead.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: John Crispin <john@phrozen.org>
cache.c