In order to verify if we are actually properly doing DNS consistency measurements (that is if we are really testing the DNS resolver of the ISP of the probe and not that of some third party), the web_connectivity test should compare the ASN of the configured DNS resolver of the probe with that of the probe.
If it's different we should output some warning message saying that the measurement may not be accurate and provide instructions on how to configure the DNS resolver properly (probably also take not of this inside of some key in the measurement itself).
This come from a suggestion by @bassosimone in ooni/probe#524
In order to verify if we are actually properly doing DNS consistency measurements (that is if we are really testing the DNS resolver of the ISP of the probe and not that of some third party), the web_connectivity test should compare the ASN of the configured DNS resolver of the probe with that of the probe.
If it's different we should output some warning message saying that the measurement may not be accurate and provide instructions on how to configure the DNS resolver properly (probably also take not of this inside of some key in the measurement itself).
This come from a suggestion by @bassosimone in ooni/probe#524