Skip to content

Instantly share code, notes, and snippets.

@fredeerock
Created April 10, 2019 20:08
Show Gist options
  • Save fredeerock/eea700a2cf3e59bea3ea3038b990340b to your computer and use it in GitHub Desktop.
Save fredeerock/eea700a2cf3e59bea3ea3038b990340b to your computer and use it in GitHub Desktop.
makes ipv4 preferred over ipv6
#!/bin/bash
echo "precedence ::ffff:0:0/96 100" >> /etc/gai.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment