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: Fix truncateTC, add some lua fns and more regression tests #3126

Merged
merged 3 commits into from Dec 31, 2015

Conversation

Projects
None yet
3 participants
@rgacogne
Member

rgacogne commented Dec 28, 2015

No description provided.

rgacogne added some commits Dec 28, 2015

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.
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.
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

@Habbie Habbie added this to the dnsdist-1-alpha2 milestone Dec 30, 2015

ahupowerdns added a commit that referenced this pull request Dec 31, 2015

Merge pull request #3126 from rgacogne/dnsdist-more-tests
dnsdist: Fix truncateTC, add some lua fns and more regression tests

@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