Kong / kong

🦍 The Cloud-Native API Gateway and AI Gateway.
https://konghq.com/install/#kong-community
Apache License 2.0
38.97k stars 4.78k forks source link

Revert "fix(dns): ignore records with RR types differs from that of the query when parsing answers (#13002)" #13276

Closed locao closed 3 months ago

locao commented 3 months ago

Summary

This reverts commit 40f43c9008eec553240255d919ae99aa3c8d7fb3.

The original change could cause issues with DNS responses containing additional section. Reverting it while the issue gets addressed.

Checklist

Issue reference

FTI-6038 KAG-4446 FTI-5834

team-gateway-bot commented 3 months ago

Backport failed for release/3.7.x, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin release/3.7.x
git worktree add -d .worktree/backport-13276-to-release/3.7.x origin/release/3.7.x
cd .worktree/backport-13276-to-release/3.7.x
git switch --create backport-13276-to-release/3.7.x
git cherry-pick -x 955fa80400c13851fb9ef4b7fcdc06b6df93446d
team-gateway-bot commented 3 months ago

Cherry-pick failed for master, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally.

git remote add upstream https://github.com/kong/kong-ee
git fetch upstream master
git worktree add -d .worktree/cherry-pick-13276-to-master-to-upstream upstream/master
cd .worktree/cherry-pick-13276-to-master-to-upstream
git checkout -b cherry-pick-13276-to-master-to-upstream
ancref=$(git merge-base 8e86dbaa1fdfd9ba62d9cf8f2cfcc5994614188f ea82ca6af87b72b05038d03f7bd0723475686442)
git cherry-pick -x $ancref..ea82ca6af87b72b05038d03f7bd0723475686442