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

Use dns go bindings instead of dig command for dns resolution in egress network policy #19805

Merged

Conversation

pravisankar
Copy link

Ravi Sankar Penta added 5 commits May 22, 2018 01:50
…ss network policy

- Query all nameservers in /etc/resolv.conf to populate ovs rules for domain names in egress policy
  When the given domain is using DNS load balancing algorithm, depending on which nameserver it queries,
  we may get different IP addr.
- DNS go library is used instead of dig shell command.
- bind-utils pkg was added for 'dig' command and we no longer depend
on this command for dns resolution.
@openshift-ci-robot openshift-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label May 22, 2018
@pravisankar
Copy link
Author

pravisankar commented May 22, 2018

@openshift/sig-networking @knobunc @danwinship @smarterclayton PTAL

@pravisankar
Copy link
Author

/retest

Copy link
Contributor

@knobunc knobunc left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label May 22, 2018
@knobunc
Copy link
Contributor

knobunc commented May 22, 2018

@smarterclayton can you approve this please if you find it acceptable? Thanks

@smarterclayton
Copy link
Contributor

/retest

@smarterclayton
Copy link
Contributor

smarterclayton commented May 22, 2018 via email

@knobunc
Copy link
Contributor

knobunc commented May 23, 2018

@smarterclayton I am fine with it for 3.10. I've approved it, but can't approve the change to origin.spec.

@smarterclayton
Copy link
Contributor

smarterclayton commented May 23, 2018 via email

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: knobunc, pravisankar, smarterclayton

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 23, 2018
@pravisankar
Copy link
Author

/retest

@openshift-merge-robot openshift-merge-robot merged commit 1492ec0 into openshift:master May 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. component/networking lgtm Indicates that a PR is ready to be merged. sig/networking size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants