If you have multiple domains pointing to the same IP address, can you see which domain a packet was sent to?


Application-layer protocols such as HTTP generally have this capability.

At the network layer, no, you can't tell.

| improve this answer | |
  • Note that the server name reported at the application layer is not necessarily the one actually used to resolve the server's IP address. For example, both curl --resolve and openssl s_client -servername can be used to "fake" the server name at the application layer. – Gordon Davisson Jun 12 at 1:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.