-
Notifications
You must be signed in to change notification settings - Fork 954
Closed
Milestone
Description
- This is not a support question, I have read about opensource and will send support questions to the IRC channel, GitHub Discussions or the mailing list.
- I have read and understood the 'out in the open' support policy
- Program: dnsdist
- Issue type: Bug report
Short description
Environment
- Operating system: Ubuntu 22.04.2 LTS with podman 3.4.4
- Software version: dnsdist 2.0.0-alpha
- Software source:
Compiled by myself according to steps in repository builder directory
Steps to reproduce
- s = newServer({address="192.168.1.10:53",pool="test",name="test1",tcpOnly=true})
- getPool("test"):newPacketCache(100)
- setVerbose(true)
- Run a dig query from a client with udp request
- Ensure query returns success
- Run a few the same queries again, ensure cache hit (TTL shall be long enough)
- s:setDown()
- Perform the same query from client
Expected behaviour
Expect cache hit happens as a result of step 8
Actual behaviour
Currently cache miss is happening
Other information
After digging it seems this is related with cache key calculation strategy in dnsdist. More details can be found in #15335