Re: [dnsdist] Caching reverse lookups

2019-05-24 Thread Nico CARTRON
Hi Jon, [answering late, but better late than never ;)] On 19-Mar-2019 22:02 CET, wrote: > On 3/19/19 4:56 PM, Alan Clegg wrote: > > On 3/19/19 4:51 PM, Jon Radel wrote: > > > To add a bit more information:  It turns out to matter how I do the > > > query.  If I do the query using dig 9.11.3 as

Re: [dnsdist] Caching reverse lookups

2019-03-19 Thread Jon Radel
On 3/19/19 4:56 PM, Alan Clegg wrote: On 3/19/19 4:51 PM, Jon Radel wrote: To add a bit more information:  It turns out to matter how I do the query.  If I do the query using dig 9.11.3 as shipped with Ubuntu, it doesn't get cached.  If I do the query with host, it does get cached. Which lead me

Re: [dnsdist] Caching reverse lookups

2019-03-19 Thread Alan Clegg
On 3/19/19 4:51 PM, Jon Radel wrote: > To add a bit more information:  It turns out to matter how I do the > query.  If I do the query using dig 9.11.3 as shipped with Ubuntu, it > doesn't get cached.  If I do the query with host, it does get cached.  > Which lead me to the thought that being a bit

Re: [dnsdist] Caching reverse lookups

2019-03-19 Thread Jon Radel
To add a bit more information:  It turns out to matter how I do the query.  If I do the query using dig 9.11.3 as shipped with Ubuntu, it doesn't get cached.  If I do the query with host, it does get cached.  Which lead me to the thought that being a bit less clever with dig options might help.

[dnsdist] Caching reverse lookups

2019-03-19 Thread Jon Radel
Tested with both dnsdist 1.2.1 and 1.3.3 under Ubuntu 18.04, I can't get dnsdist to cache reverse lookups of IPv4 addresses. I would expect: rfc1918Cache = newPacketCache(4000, 3600) getPool("rfc1918"):setCache(rfc1918Cache) newServer({address="65.216.248.10", pool="rfc1918"}) newServer({addres