Skip to content
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

Support for selective enabling tcp-upstream for stub/forward zones #519

Merged
merged 1 commit into from
Aug 12, 2021

Conversation

ziollek
Copy link
Contributor

@ziollek ziollek commented Aug 5, 2021

I've prepared changes that allow enable tcp-upstream selectively (per stub/forward zone). Changes are inspired by PR-95. In original PR-95 there was support only for stubs - I've added also support for forward zones and prepared some test cases and docs update.

I didn't commit changes which are generated via flex/bison (util/configlexer.c, util/configparser.c) - please let me know if I should also commit these files.

Copy link
Member

@wcawijngaards wcawijngaards left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes look good. I think it can be merged.

@wcawijngaards wcawijngaards merged commit 0ace659 into NLnetLabs:master Aug 12, 2021
wcawijngaards added a commit that referenced this pull request Aug 12, 2021
- Merge #519: Support for selective enabling tcp-upstream for
  stub/forward zones.
- For #519: note stub-tcp-upstream and forward-tcp-upstream in
  the example configuration file.
wcawijngaards added a commit that referenced this pull request Aug 12, 2021
wcawijngaards added a commit that referenced this pull request Aug 12, 2021
@wcawijngaards
Copy link
Member

Thank you for the neat feature. I hope it can be useful. I have merged it and made some fixup commits.

jedisct1 added a commit to jedisct1/unbound that referenced this pull request Aug 12, 2021
* nlnet/master: (37 commits)
  - Fix to print error from unbound-anchor for writing to the key   file, also when not verbose.
  - For NLnetLabs#519: fix comments for doxygen.
  - For NLnetLabs#519: yacc and lex. And fix python bindings, and test program   unbound-dnstap-socket.
  Changelog note for NLnetLabs#519 and example.conf edit - Merge NLnetLabs#519: Support for selective enabling tcp-upstream for   stub/forward zones. - For NLnetLabs#519: note stub-tcp-upstream and forward-tcp-upstream in   the example configuration file.
  Changelog note for NLnetLabs#523 - Merge NLnetLabs#523: fix: free() call more than once with the same pointer.
  Changelog note for NLnetLabs#521 - Merge NLnetLabs#521: Update mini_event.c.
  - Add test tool readzone to .gitignore.
  - And 1.13.2rc1 became the 1.13.2 with the fix for the python module   build. The current code repository continues with version 1.13.3.
  fix: free() call more than once with the same pointer
  Update mini_event.c
  - Fix NLnetLabs#520: Unbound 1.13.2rc1 fails to build python module.
  Add (stub|forward)-tcp-upstream options which enable using tcp transport only for specified stub/forward zones
  For 1.13.2rc1.
  - Tag for 1.13.2 release.
  - Fix unit test zonemd_reload for use in run_vm.
  - Fix libnettle zonemd unit test.
  - Fix out of sourcedir run of zonemd unit tests.
  - Fix readzone compile under debug config.
  - Fix missing locks in zonemd unit test.
  - Fix static analysis warnings about localzone locks that are unused.
  ...
@ziollek
Copy link
Contributor Author

ziollek commented Aug 12, 2021

Thanks for your time, it's great news. I also hope that this change will be useful for others.

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.

None yet

2 participants