Skip to content

Instantly share code, notes, and snippets.

@oli-logicnow
Created January 2, 2017 08:53
Show Gist options
  • Save oli-logicnow/f2a51260831b03ebc6cf463c4e44f71e to your computer and use it in GitHub Desktop.
Save oli-logicnow/f2a51260831b03ebc6cf463c4e44f71e to your computer and use it in GitHub Desktop.
Force an IP address when curling, avoiding messing with /etc/hosts
curl -Iv --resolve example.com:443:52.49.117.44 https://example.com
Super helpful whne doing things like testing services on the end of round-robin IP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment