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

Added support for ALL DNS lookup family #4909

Merged
merged 6 commits into from
Dec 21, 2022

Conversation

vishal-chdhry
Copy link
Member

Added an ALL option which when selected, the DNS resolver returns both IPv4 and IPv6 addresses (if they exist),

Closes #4778

Signed-off-by: Vishal Choudhary contactvishaltech@gmail.com

@vishal-chdhry vishal-chdhry requested a review from a team as a code owner December 8, 2022 18:25
@vishal-chdhry vishal-chdhry requested review from skriss and sunjayBhatia and removed request for a team December 8, 2022 18:25
Copy link
Member

@sunjayBhatia sunjayBhatia left a comment

Choose a reason for hiding this comment

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

need a couple unit tests for changes to how externalname/dns name clusters are built with the ALL DNS family

internal/envoy/v3/cluster.go Show resolved Hide resolved
@sunjayBhatia sunjayBhatia added release-note/small A small change that needs one line of explanation in the release notes. release-note/minor A minor change that needs about a paragraph of explanation in the release notes. and removed release-note/small A small change that needs one line of explanation in the release notes. labels Dec 19, 2022
vishal-chdhry and others added 4 commits December 21, 2022 17:11
Signed-off-by: Vishal Choudhary <contactvishaltech@gmail.com>
Signed-off-by: Vishal Choudhary <contactvishaltech@gmail.com>
Signed-off-by: Vishal Choudhary <contactvishaltech@gmail.com>
Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com>
@sunjayBhatia
Copy link
Member

@vishal-chdhry did a little cleanup on this branch so we can get this in

lgtm!

Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com>
Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com>
@sunjayBhatia
Copy link
Member

@vishal-chdhry see this fix: d125ab0

@codecov
Copy link

codecov bot commented Dec 21, 2022

Codecov Report

Merging #4909 (d125ab0) into main (d4591c0) will increase coverage by 0.01%.
The diff coverage is 84.21%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4909      +/-   ##
==========================================
+ Coverage   76.47%   76.49%   +0.01%     
==========================================
  Files         140      140              
  Lines       16750    16762      +12     
==========================================
+ Hits        12810    12822      +12     
  Misses       3690     3690              
  Partials      250      250              
Impacted Files Coverage Δ
cmd/contour/bootstrap.go 0.00% <0.00%> (ø)
cmd/contour/servecontext.go 80.86% <0.00%> (-0.44%) ⬇️
internal/dag/dag.go 96.62% <ø> (ø)
internal/envoy/bootstrap.go 52.27% <ø> (ø)
internal/dag/httpproxy_processor.go 92.74% <100.00%> (ø)
internal/envoy/v3/cluster.go 93.89% <100.00%> (+0.24%) ⬆️
pkg/config/parameters.go 86.61% <100.00%> (ø)
internal/sorter/sorter.go 98.97% <0.00%> (+1.02%) ⬆️

@sunjayBhatia
Copy link
Member

cc @skriss in case you have anything on this

Copy link
Member

@skriss skriss left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @vishal-chdhry and @sunjayBhatia!

@sunjayBhatia sunjayBhatia merged commit f42d339 into projectcontour:main Dec 21, 2022
yangyy93 pushed a commit to projectsesame/contour that referenced this pull request Feb 16, 2023
Signed-off-by: Vishal Choudhary <contactvishaltech@gmail.com>
Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com>
Co-authored-by: Sunjay Bhatia <sunjayb@vmware.com>
Signed-off-by: yy <yang.yang@daocloud.io>
yangyy93 pushed a commit to projectsesame/contour that referenced this pull request Feb 16, 2023
Signed-off-by: Vishal Choudhary <contactvishaltech@gmail.com>
Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com>
Co-authored-by: Sunjay Bhatia <sunjayb@vmware.com>
Signed-off-by: yy <yang.yang@daocloud.io>
vmw-yingy pushed a commit to vmw-yingy/contour that referenced this pull request Feb 28, 2023

Signed-off-by: Vishal Choudhary <contactvishaltech@gmail.com>
Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com>
Co-authored-by: Sunjay Bhatia <sunjayb@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/minor A minor change that needs about a paragraph of explanation in the release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add support for "ALL" DNS lookup family
3 participants