Skip to content

Add $OPTION directive and "fallthrough" option#6

Open
fuhry wants to merge 1 commit intocoredns:masterfrom
fuhry:fallthrough-support
Open

Add $OPTION directive and "fallthrough" option#6
fuhry wants to merge 1 commit intocoredns:masterfrom
fuhry:fallthrough-support

Conversation

@fuhry
Copy link
Contributor

@fuhry fuhry commented Mar 9, 2023

Add the $OPTION directive to allow configuring the plugin.

Implement an option, "fallthrough" which causes the plugin to continue to the next plugin in the chain when there is no match, instead of always returning NXDOMAIN.

@fuhry fuhry force-pushed the fallthrough-support branch from 5c172cf to 9fd9193 Compare March 14, 2023 16:24
@fuhry
Copy link
Contributor Author

fuhry commented Mar 14, 2023

@chrisohaver I've addressed all comments, can you re-review? Thanks!

@fuhry fuhry force-pushed the fallthrough-support branch 2 times, most recently from 89a9aa8 to cb0f77a Compare March 14, 2023 16:56
Add the `$OPTION` directive to allow configuring the plugin.

Implement an option, "fallthrough" which causes the plugin to continue to the next plugin in the chain when there is no match, instead of always returning NXDOMAIN.

Signed-Off-By: Dan Fuhry <dan@fuhry.com>
@fuhry fuhry force-pushed the fallthrough-support branch from cb0f77a to bd8474d Compare March 14, 2023 16:57
@fuhry
Copy link
Contributor Author

fuhry commented Mar 14, 2023

Pushes since my most recent comment are the addition of tests for fall-through functionality.

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.

3 participants