Skip to content

Detect and work around DNS hijacking by ISPs #18

Description

@graphiclunarkid

Some ISPs intercept DNS resolution failures and redirect to a serach page (https://en.wikipedia.org/wiki/DNS_hijacking#Manipulation_by_ISPs).

Android-Probe currently reports "OK" when checking non-existent domains if DNS hijacking is taking place. This is because it's only looking for a successful HTTP status code and page content being returned that does not include the strings found in the config file for the current ISP.

Android-Probe should detect that DNS hijacking is taking place and report "error" for non-existent domains. Ideally it would record that the error in question is "NXDOMAIN" so that we know the DNS resolution failed.

See openrightsgroup/cmp-issues#29 for further discussion.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions