First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

Is there a way to show the difference between pinging a url and pinging an ip address?

  • retag add tags

I'm wondering if when you are capturing packets in wireshark- is there a way to show the difference between pinging a url and that url's ip address?

jerjack1's avatar
1
jerjack1
asked 2020-09-25 17:08:24 +0000
edit flag offensive 0 remove flag close merge delete

Comments

What do you mean by "pinging" a URL? As @Chuckc notes, "pinging" usually refers to trying to check whether a IP address is reachable; a URL may contains more than just an IP address or host name - http://example.com is a different URL from http://example.com/home.html, for example.

In "pinging a URL" do you mean something other than "pinging" in the ICMP sense?

Guy Harris's avatar Guy Harris (2020-09-25 19:08:56 +0000) edit
add a comment see more comments

1 Answer

1

It might help to differentiate between "ping" and ICMP.
Ping is a software tool that uses ICMP messages to poll (request/reply) an IP address.
So at the IP level there is no difference.

What is different is the name resolution that takes place at a higher level to convert the URL to an IP address.
That could be a local host file, an entry in the local DNS cache or may require sending a request to a DNS server.

Chuckc's avatar
3k
Chuckc
answered 2020-09-25 18:20:13 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer