cleanbrowsing/dnsperftest

Windows 10?

thezakman opened this issue ยท 11 comments

I wonder if there is any way to test this on windows.

I believe the Linux sub-system is what you would want. I could be wrong.

Anyone with Windows experience to do it for us? Can't really help with it.

I just tested using the WSL on Win 10 (Specificly the Ubuntu distro), and it worked just fine following your instructions.

Just did it here too, work fine. Win10 + Ubuntu sub distro

Great I will try!

If you encounter an error "$'\r': command not found", the file is has Windows-style line endings and needs to be converted.

From the bash terminal, run

tr -d '\15\32' < dnstest.sh > dnstest-2.sh

Then use the dnstest-2.sh file as normal.

If you want to get Linux running on Windows, Scott Hanselman has a great guide: https://www.hanselman.com/blog/UbuntuNowInTheWindowsStoreUpdatesToLinuxOnWindows10AndImportantTips.aspx

@ChadLevy's link will put you on the right track. Took me a while but got it to work on windows.

Tnx Chad

I'm trying it on Windows 10, and every test is coming up 1000ms. I followed the instructions exactly. Are my results just really that bad or could there be another problem?

If it is always coming up as 1000ms, it means you do have an issue on the test. Maybe DNS is blocked or the dig command line tool is not working?

@ChadLevy

If you encounter an error "$'\r': command not found", the file is has Windows-style line endings and needs to be converted.

From the bash terminal, run

tr -d '\15\32' < dnstest.sh > dnstest-2.sh

Is there no unix2dos on WSL which is much more user-friendly?

dos2unix - DOS/Mac to Unix and vice versa text file format converter