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

fix: use template rcode NOERROR to prevent timeouts #206

Merged
merged 3 commits into from
Oct 25, 2023

Conversation

blacha
Copy link
Member

@blacha blacha commented Oct 25, 2023

Motivation

When using rewrite stop type AAAA A DNS resolution would often hang for 30+seconds on the clients waiting for a response

Modification

Instantly respond to AAAA requests with a empty NOERROR to force clients to use A records for external hosts.

Checklist

If not applicable, provide explanation of why.

  • Tests updated
  • Docs updated
  • Issue linked in Title

@blacha blacha requested review from a team as code owners October 25, 2023 22:50
cdk8s.yaml Outdated Show resolved Hide resolved
@blacha blacha added this pull request to the merge queue Oct 25, 2023
Merged via the queue into master with commit f3c2a4a Oct 25, 2023
2 checks passed
@blacha blacha deleted the fix/dns-resolution branch October 25, 2023 22:57
amfage pushed a commit that referenced this pull request Oct 30, 2023
#### Motivation

When using `rewrite stop type AAAA A` DNS resolution would often hang
for 30+seconds on the clients waiting for a response

#### Modification

Instantly respond to AAAA requests with a empty NOERROR to force clients
to use A records for external hosts.

#### Checklist

_If not applicable, provide explanation of why._

- [ ] Tests updated
- [ ] Docs updated
- [ ] Issue linked in Title

---------

Co-authored-by: paulfouquet <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants