MobDojoStart learning free

Mobile Networking · How Apps Talk · Lesson 5 of 5

Challenge: Jo's News App

Follow one app's traffic from a name lookup to a shared public address.

15 min120 XPFree lab

The Case Brief

Your cousin Jo asks you to explain what her phone is doing when she opens her favorite news app. You agree to follow one session from start to finish.

Here's what you know so far:

She taps the app icon. Before a single story can load, the phone has a problem to solve. The app only knows the server by its name, but packets need something else in their header to find their way across the internet.

Think about what the phone needs before it can send the first packet to news.example, and who it asks for help.

The Answer Expires

The lookup works. The answer for news.example comes back with a TTL of 300. The resolver stores it, and Jo's stories load.

Jo closes the app, makes a cup of tea, and opens it again 10 minutes later. Her phone asks the resolver for news.example one more time.

You notice this second lookup takes a little longer than you expected. The resolver had stored the answer earlier, so why would it go back out and ask again?

A Newer Protocol

You open the app's settings with Jo and find a line that says it fetches stories using HTTP/3.

Jo has heard that web traffic uses TCP, because every byte of a page has to arrive correctly. You tell her that's true for older versions of HTTP, but HTTP/3 works differently underneath.

The stories still arrive complete and encrypted. Something sitting between HTTP/3 and the transport protocol adds the reliability and the encryption, so the transport protocol itself doesn't have to.

Leaving the House

Jo heads out and her phone switches from home Wi-Fi to mobile data. You both visit a website that shows your public IP address. It shows a different address than it did at home.

Then you look in her phone's settings. The address listed there is 100.72.14.9, which matches neither the old home address nor the one the website just showed.

Jo wonders whether a website log with her public address could point straight to her and nobody else.

Test yourself

Can you answer these?

  1. Before the app can send its first packet to news.example, what does the phone need, and how does it get it?
  2. Why might the resolver have to work down the chain again for the lookup 10 minutes later?
  3. HTTP/3 runs on QUIC. Which transport protocol carries the app's packets underneath?
  4. What does the address 100.72.14.9 in Jo's settings most likely tell you?

Answer them in the app to earn 120 XP.

Answer in the app