Skip to content

Instantly share code, notes, and snippets.

@bashtoni
Created June 20, 2023 05:00
Show Gist options
  • Save bashtoni/ca532e90027bce842e56f85d66d0c4fc to your computer and use it in GitHub Desktop.
Save bashtoni/ca532e90027bce842e56f85d66d0c4fc to your computer and use it in GitHub Desktop.
curl to an alternate host - check before changing DNS
curl -IX GET --connect-to oldhost:443:newhost:443 https://oldhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment