catap / namebench

Open-source DNS Benchmark Utility
Apache License 2.0
200 stars 30 forks source link

Don't blacklist 1.1.1.1 / 1.0.0.1 cloudflare dns servers #9

Open HernanHortonworks opened 6 years ago

HernanHortonworks commented 6 years ago

Don't blacklist 1.1.1.1 / 1.0.0.1 cloudflare dns servers

-- Hernan Fernandez Retamal

fantuz commented 6 years ago

hi @HernanHortonworks, at which point do you see blacklists in the code ? just wondering how this relates to a nambench-specific issue ...

HernanHortonworks commented 6 years ago

Blacklist is in config/servers.csv

Ranger-Z commented 6 years ago

1.1.1.1 is now run by CloudFlare in conjunction with APNIC as of 4\1\2018. https://1.1.1.1/ 1.0.0.1 is the secondary and not in the file.
Can we also get 9.9.9.9 (quad9) added please? https://www.quad9.net/

vapniks commented 6 years ago

How do you unblacklist it? Can anyone explain the format of config/servers.csv ?

partounian commented 6 years ago

@vapniks Probably just delete the line with 1.1.1.1 in it. The line looks like this "1.1.1.1","blacklist","X-Bad-IP",,"1.1.1.1","AU","-27.0,133.0",,"_TIMEOUT_",50,"http://www.wirelessconnect.eu/legacy/index.php?option=com_content&task=view&id=146&Itemid=55 http://www.bleepingcomputer.com/forums/topic84365.html",,,,,,,,,,,,

I did not see a line for 1.0.0.1

Update: Probably a decent amount of updating to be done in general, for example update the IPs here https://github.com/catap/namebench/blob/master/config/sanity_checks.cfg

Update to use 1.1.1.1 We need to add something like "8.8.8.8","preferred testsuite","Google Public DNS",,,"US/California/Mountain View","37.4192008972,-122.057403564","AS15169",,40,"http://indiawebsearch.com/content/how-to-congfigure-your-pc-to-use-googles-dns-system http://www.iamdownloader.com/2009/12/setup-google-dns-server-in-your-pc.html",,,,,,,,,,,, Maybe:


"1.0.0.1","preferred testsuite","CloudFlare DNS",,,"US/California/Mountain View","{long,lat}","NET-1-0-0-0-1",,40,"",,,,,,,,,,,,```
Not sure what the number 40 is for. Also project seems overly complex, wonder if there is a simpler way to manage everything.
Ranger-Z commented 6 years ago

There are 2 almost identical files, hostname_reference.cfg and sanity_checks.cfg, which both have a comment at the top about how to disable the file, but both seem to be enabled. The last line in the namebench.cfg pionts to the servers.csv file. Unclear what is in use. Agree it's overly complex.

I actually could not get this version to run (no windows version) and just edited the namebench.cfg file for the 1.3.1 version. I added in all the entries from the livewire 2018 list (https://www.lifewire.com/free-and-public-dns-servers-2626062). The config is very simple [IP]=[text string]

DNS Benchmark does a much better job of maintaining the lists and offers the ability to import your own custom lists. I like this particular feature as I can easily retest a short list of my favs.