Skip to content

Conversation

@thaJeztah
Copy link
Member

cherry-pick of #1974 for 17.09

git checkout -b 17.09-backport-iptables_no_dns_lookup upstream/bump_17.09
git cherry-pick -s -S -x 8dce207dddc3f805b852088a60cc27bfe54b065e

Without -n, iptables will attempt to lookup hostnames for IP
addresses, which can slow down the call dramatically.
Since we don't need this, and generally don't even care about the
output, use the -n flag to disable this.

(cherry picked from commit 8dce207)

Copy link
Member

@cpuguy83 cpuguy83 left a comment

Choose a reason for hiding this comment

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

LGTM

Without `-n`, iptables will attempt to lookup hostnames for IP
addresses, which can slow down the call dramatically.
Since we don't need this, and generally don't even care about the
output, use the `-n` flag to disable this.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit 8dce207)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah force-pushed the 17.09-backport-iptables_no_dns_lookup branch from 4b4ced5 to 5c9dec8 Compare November 20, 2017 19:48
@fcrisciani
Copy link

LGTM

@fcrisciani fcrisciani merged commit ca1f761 into moby:bump_17.09 Nov 20, 2017
@thaJeztah thaJeztah deleted the 17.09-backport-iptables_no_dns_lookup branch November 20, 2017 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants