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

dnsdist: TeeAction() not working in master #5859

Closed
giganteous opened this Issue Oct 26, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@giganteous
Contributor

giganteous commented Oct 26, 2017

  • Program: dnsdist
  • Issue type: Bug report

Short description

TeeAction() stopped working as expected in the master branch. It does keep statistics:

> getAction(0):printStats()
refuseds	0
nxdomains	0
noerrors	0
servfails	0
recv-errors	0
tcp-drops	0
responses	0
other-rcode	0
send-errors	0
queries	6

Environment

  • Operating system: Debian stretch
  • Software version: 0.0.1793g0e9a0d5-1pdns
  • Software source: repo.powerdns.com

Steps to reproduce

  1. Configure dnsdist with 1 backend and 1 tee action:
addLocal("0.0.0.0:53")
addLocal("[::]:53")

setACL({"127.0.0.1/8", "::1"})

newServer({address="[2001:888:0:104::6d]:5300", name="resolver3-e", useClientSubnet=true, order=10})
addAction(AllRule(), TeeAction("[2001:888:0:104::68]:5300", true))

controlSocket("0.0.0.0")
setKey("4TvApSd1bQztMavWMliANW2X+HIWJFXwpvWwqhdtug4=")
webserver("0.0.0.0:8083", "1llr4m", "4TvApSd1bQztMavWMliANW2X+HIWJFXwpvWwqhdtug4=")
  1. launch
  2. tcpdump the traffic to 2001:888:0:104::68
  3. ask questions

Expected behaviour

See questions asked to 2001:888:0:104::68

Actual behaviour

No questions asked to 2001:888:0:104::68

Other information

stable branch (version 1.2.0) works fine with this config.

Usecase

Description

@rgacogne rgacogne added this to the dnsdist-1.3.0 milestone Oct 26, 2017

@rgacogne rgacogne self-assigned this Oct 26, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment