dnsdist: Fix truncateTC, add some lua fns and more regression tests #3126

Merged
merged 3 commits into from Dec 31, 2015

Projects

None yet

3 participants

@rgacogne
Member

No description provided.

rgacogne added some commits Dec 28, 2015
@rgacogne rgacogne dnsdist: Fix truncateTC, it wasn't updating the response len anymore
It was broken (still setting TC and fixing ancount, nscount and arcount
but not the response length) since the addition of ECS in
ca404e9, shame on me.
b50ee13
@rgacogne rgacogne dnsdist: Add SuffixMatchNodeRule() and RCodeAction()
I needed them for the regression tests, and unless there is a
cleaner way to do the same thing that I missed, they will be
useful.
0bd31cc
@rgacogne rgacogne dnsdist: Add more regression tests
Tests for:

Actions:
* DelayAction
* RCodeAction

Rules:
* AllRule
* AndRule
* addAnyTCRule
* addDisableValidationRule
* addNoRecurseRule
* addPoolRule
* QTypeRule
* RegexRule
* SuffixMatchNodeRule

Misc:
* ACL
* truncateTC
* fixupCase
* addDomainSpoof
* Round Robin balancing
ec5f5c6
@Habbie Habbie added this to the dnsdist-1-alpha2 milestone Dec 30, 2015
@ahupowerdns ahupowerdns merged commit 6fcd388 into PowerDNS:master Dec 31, 2015

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@rgacogne rgacogne deleted the rgacogne:dnsdist-more-tests branch Dec 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment