[ooni-dev] Understanding how client resolver is determined
art at torproject.org
Wed Aug 3 10:34:54 UTC 2016
The system resolver is determined by querying a public service run by akamai called whoami.akamai.net.
You can see our implementation of such service to see how it works here:
We don’t use our own servers for doing this as we are assuming that using a public service vs using
something hosted on a ooni.* domain is more stealth.
The basic idea behind how it works is that you do an A lookup for a special domain and the delegated
authoritative name server will reflect back the IP address from where the query originated.
The reason why you are seeing a different IP than that where you are directing your queries to is that
quite often DNS resolvers are deployed in a way where the machine actually doing the queries and
then caching them are different than those where you make queries to.
As an example with the google DNS resolver you will see this:
$ dig +short whoami.akamai.net @22.214.171.124
However you can confirm that actually that IP is in the range allocated to google:
$ whois 126.96.36.199 | grep ^Organization
Organization: Google Inc. (GOGL)
Hope this answers your question.
On Aug 3, 2016, at 09:27, Khairil Yusof <khairil.yusof at sinarproject.org> wrote:
> yaml webconnectivity log:
> accessible: false
> agent: redirect
> blocking: dns
> body_length_match: false
> body_proportion: 0.09658116667249887
> client_resolver: 188.8.131.52
> addrs: [sarawakreport.org, 184.108.40.206, 220.127.116.11]
> What is client_resolver how does it determine that it's 18.104.22.168, in
> another yesterday it's 22.214.171.124 (https://explorer.ooni.torproject.or
> Both of which I can't use to resolve addresses from the same network.
> The system resolver in this case is 126.96.36.199. 188.8.131.52 would also
> work but is not used in the report.
> However the http_request does use the correct tampered address, so I'm
> curious as to how it could use a resolver that I can't use to lookup
> from the same network.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 236 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the ooni-dev