Skip to content

proxy.config.dns.search_default_domains: allow 2#13176

Merged
bneradt merged 1 commit into
apache:masterfrom
bneradt:fix-dns-search-default-domains
May 19, 2026
Merged

proxy.config.dns.search_default_domains: allow 2#13176
bneradt merged 1 commit into
apache:masterfrom
bneradt:fix-dns-search-default-domains

Conversation

@bneradt
Copy link
Copy Markdown
Contributor

@bneradt bneradt commented May 19, 2026

proxy.config.dns.search_default_domains is implemented for and documents
mode 2, but the record validation range rejected the value, only
allowing values 0 or 1.

This expands the record validation range to allow the user to configure
a 2 for proxy.config.dns.search_default_domains.

Fixes: #13175

proxy.config.dns.search_default_domains documents mode 2, and the
DNS runtime accepts it, but the record validation range rejected the
value through config updates.

This expands the record validation range to include 2 and adds a
records unit test that keeps the documented values accepted while
still rejecting values outside the range.

Fixes: apache#13175
@bneradt bneradt added this to the 11.0.0 milestone May 19, 2026
@bneradt bneradt self-assigned this May 19, 2026
@bneradt bneradt added Bug DNS Records Records related code. traffic_ctl traffic_ctl related work. labels May 19, 2026
@bneradt bneradt requested review from Copilot and zwoop May 19, 2026 20:29
@bneradt bneradt changed the title Allow DNS search_default_domains mode 2 proxy.config.dns.search_default_domains: allow 2 May 19, 2026
@bneradt bneradt requested review from Copilot and removed request for Copilot May 19, 2026 20:46
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@bneradt bneradt removed this from ATS v10.1.x May 19, 2026
@bneradt
Copy link
Copy Markdown
Contributor Author

bneradt commented May 19, 2026

Backport to 10.1.x required some merge conflicts. I made a separate PR for it:
#13178

@bneradt bneradt merged commit 1a16983 into apache:master May 19, 2026
15 checks passed
@bneradt bneradt deleted the fix-dns-search-default-domains branch May 19, 2026 21:29
@github-project-automation github-project-automation Bot moved this to For v10.2.0 in ATS v10.2.x May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug DNS Records Records related code. traffic_ctl traffic_ctl related work.

Projects

Status: For v10.2.0

Development

Successfully merging this pull request may close these issues.

search_default_domains 2 is broken

3 participants