JayBrown / DNSCrypt-Menu

Manage DNSCrypt from the macOS menu bar (BitBar plugin)
MIT License
77 stars 8 forks source link

Understanding Public DNS Information #8

Open leoj3n opened 5 years ago

leoj3n commented 5 years ago

I have a quick question about why what I see the menu plugin reporting is not what I expect in regards to "Public DNS Information".

I've set my configuration in the dnscrypt-proxy.toml file to use adguard-dns:

server_names = ['adguard-dns']

Looking at the resolvers markdown I see the "DNS stamp" for adguard-dns is:

sdns://AQMAAAAAAAAAFDE3Ni4xMDMuMTMwLjEzMDo1NDQzINErR_JS3PLCu_iZEIbq95zkSV2LFsigxDIuUso_OQhzIjIuZG5zY3J5cHQuZGVmYXVsdC5uczEuYWRndWFyZC5jb20

Using the stamp conversion tool, I get an IP of:

176.103.130.130

However, the menu plugin reports:

image

I expected the two IPs to match, and therefore I don't understand where this IP of 74.125.92.100 that seems to belong to Google came from.

leoj3n commented 5 years ago

Edit (corrected in OP): I meant to say I don't understand where the 74.125.92.100 IP came from.

leoj3n commented 5 years ago

Looking again at the "Public DNS Information" in the menu plugin just now and notice it has changed to a Cloudflare IP address:

image

It seems to show either a Google or Cloudflare IP address (sometimes different addresses but always these providers) consistently.

Switching to "Default DNS" looks to show the DNS provided by my ISP:

image

Note that I have "google1"/"google2" configured in udefault:

# DNS LIST FOR DEFAULT DNS WITHOUT DNSCRYPT
# Please enter the DNS IP address in column 1.
# You may add a description in column 2.
# Columns must be separated by a whitespace character.

8.8.8.8 google1
8.8.4.4 google2

EDIT:

Switching back to "DNSCrypt" results in another (different) Google IP address:

image