Networking / RFC Testing a new connection destination without changing DNS using curl –resolve
Use curl --resolve to temporarily replace only the connection IP for a single request, without modifying the operating system's hosts file or DNS.