Ask Your Question
0

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

asked 2020-09-25 17:08:24 +0000

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?

edit retag flag offensive 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 gravatar imageGuy Harris ( 2020-09-25 19:08:56 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-09-25 18:20:13 +0000

Chuckc gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2020-09-25 17:08:24 +0000

Seen: 49 times

Last updated: Sep 25