Skip to content

DNS-over-HTTPS hostname is not always visible in Connections tab #871

Description

@bk2419264-ops

When using apps that rely on DNS-over-HTTPS (DoH), some connections only show the destination IP address instead of the resolved hostname in the Connections tab.

Steps to reproduce
Enable PCAPdroid.
Open an app that uses DoH (for example, a modern web browser).
Browse several websites.
Check the Connections tab.
Expected behavior

The resolved hostname should be displayed whenever it can be associated with the connection, making traffic analysis easier.

Actual behavior

Some entries only display the remote IP address even though the hostname appears to be available during the session.

Device information
PCAPdroid version: Latest available
Android version: Android 14
Device: Google Pixel 7 (example)
Additional information

This is not a critical issue, but showing hostnames more consistently would improve readability and make it easier to identify connections during traffic analysis. I couldn't determine whether this is an expected limitation of DoH handling or something that could be improved.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions