[Dnsmasq-discuss] dnsmasq 2.91test9 + TCP + stale cache

Dominik Derigs dl6er at dl6er.de
Fri Jan 31 16:19:00 UTC 2025


Hey Simon,

we have found another (small) thing. The requirements for reintroducing are:

1. Using --use-stale-cache
2. A query is received via TCP
3. The cached record is stale

Querying the stale record causes the query to be "refreshed". However, 
when, at the same time, the client disconnects (and the TCP fork exits 
accordingly), the received reply will never be received and find its way 
in the mother process's cache.

Could we postpone the shutdown of TCP forks in case a refreshment query 
is still ongoing?

Best,
Dominik




More information about the Dnsmasq-discuss mailing list