dnsperftest icon indicating copy to clipboard operation
dnsperftest copied to clipboard

Windows 10?

Open thezakman opened this issue 6 years ago • 11 comments

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

thezakman avatar Apr 02 '18 23:04 thezakman

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

kyle95wm avatar Apr 03 '18 00:04 kyle95wm

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

cleanbrowsing avatar Apr 03 '18 03:04 cleanbrowsing

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

uncled1023 avatar Apr 03 '18 03:04 uncled1023

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

akiokio avatar Apr 03 '18 03:04 akiokio

Great I will try!

thezakman avatar Apr 03 '18 03:04 thezakman

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.

ChadLevy avatar Apr 03 '18 15:04 ChadLevy

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

ChadLevy avatar Apr 03 '18 15:04 ChadLevy

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

Tnx Chad

kelos-01 avatar May 20 '18 07:05 kelos-01

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?

Morpheus9and20 avatar Nov 29 '18 07:11 Morpheus9and20

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?

cleanbrowsing avatar Mar 17 '22 18:03 cleanbrowsing

@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

thomasmerz avatar Mar 17 '22 22:03 thomasmerz