dnsdist: Document toString() aliases. Add TCPRule. Make AnyTCRule set TC only over UDP #3251

Merged
merged 2 commits into from Jan 17, 2016

Projects

None yet

3 participants

@rgacogne
Member
  • For maximum compatibility with PowerDNS Lua scripts, I have recently added toString() and toStringWithPort() aliases, but forgot to document them
  • Add TCPRule() to be able to match queries based on the protocol they were received over
  • Make addAnyTCRule set TC=1 for ANY queries received on UDP, but not on TCP, as suggested by Greg on the dnsdist mailing-list (thanks!)
@ahupowerdns
Member

I was just pondering the need for all this! Good stuff!

@ahupowerdns ahupowerdns merged commit 4e47c09 into PowerDNS:master Jan 17, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@rgacogne rgacogne deleted the rgacogne:dnsdist-any-tcp branch Jan 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment