Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
dnsdist should have 'mute' option to do everything, except respond #4527
This should be set per listening address. The usecase is 1) benchmarking with "real" IP addresses 2) setups where dnsdist is receiving packets from a port mirror for analysis, but should not be answering.
For some failover cases, we might want to set this at runtime, but let's only type that in if it isn't too hard. It would bring showListeners() and getListener(0):mute() and getListener(0):unmute() tec.
The goal is to only stop sending the answer at the sendmsg() call and really do all the other processing correctly.