#### Description This PR introduces a new feature to solve the old issue: #4338 .
A new `modparam` was introduced: `ds_dns_match_all`. When enabled, it will be possible to use `ds_is_from_list` to auth traffic from a DNS that points to multiple and different addresses. Currently, it only resolves to one. The existent behaviour was kept, and its the default value (`0`). To enable, pass `1` as value. This is quiet useful for developments using `Kubernetes` or in distributed setup, when DNS are used for internal hops. #### Pre-Submission Checklist - [x] Commit message has the format required by CONTRIBUTING guide - [x] Commits are split per component (core, individual modules, libs, utils, ...) - [x] Each component has a single commit (if not, squash them into one commit) - [x] Code is formatted with `clang-format` using the config file `.clang-format` from source code folder - [x] No commits to README files for modules (changes must be done to docbook files in `doc/` subfolder, the README file is autogenerated) #### Type Of Change - [ ] Small bug fix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds new functionality) - [ ] Breaking change (fix or feature that would change existing functionality) #### Checklist: - [x] PR should be backported to stable branches - [x] Tested changes locally - [x] Related to issue #4338 You can view, comment on, or merge this pull request online at: https://github.com/kamailio/kamailio/pull/4733 -- Commit Summary -- * dispatcher: add modparam that enables dns lookup for all resolved addresses -- File Changes -- M src/modules/dispatcher/dispatch.c (107) M src/modules/dispatcher/dispatch.h (6) M src/modules/dispatcher/dispatcher.c (2) M src/modules/dispatcher/doc/dispatcher_admin.xml (31) -- Patch Links -- https://github.com/kamailio/kamailio/pull/4733.patchhttps://github.com/kamailio/kamailio/pull/4733.diff -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/4733 You are receiving this because you are subscribed to this thread. Message ID: <kamailio/kamailio/pull/[email protected]>
_______________________________________________ Kamailio - Development Mailing List -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
