Skip to content

Instantly share code, notes, and snippets.

@sthorne
Last active August 29, 2015 14:16
Show Gist options
  • Save sthorne/cc324985b225e862bc95 to your computer and use it in GitHub Desktop.
Save sthorne/cc324985b225e862bc95 to your computer and use it in GitHub Desktop.
IPTables - Disable Tracking for DNS requests
## If IPTables conntrack is enabled and lots of connections are sucking up resources this can alleviate the problem
## This example is specific to DNS
/sbin/iptables -t raw -I OUTPUT -p udp --sport 53 -j NOTRACK
/sbin/iptables -t raw -I PREROUTING -p udp --dport 53 -j NOTRACK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment