Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pls discuss: Teeaction: send copy of query to second nameserver, sponge responses #3762

Merged
merged 6 commits into from Apr 26, 2016

Conversation

ahupowerdns
Copy link
Contributor

This adds a getStats() too all Actions which is currently empty, but could be exposed via the API so people could query it remotely. I think it makes sense like this but @rgacogne is closed in tune with the architecture of dnsdist post 1.0.0 I think. So please ponder before merging!

if(dq->tcp)
d_tcpdrops++;
else {
d_queries++;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that this may be called from different threads, perhaps we might want to make d_tcpdrops and d_queries atomic

@ahupowerdns ahupowerdns merged commit fb2e6a1 into PowerDNS:master Apr 26, 2016
@ahupowerdns ahupowerdns deleted the teeaction branch September 19, 2017 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants