File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ @ ECHO OFF
2
+ ECHO CHECKING CONNECTIVITY TO DNS-INTRODUCER.CHIA.NET...
3
+ ECHO THIS MAY TAKE A MOMENT...
4
+ timeout /T 3 > nul
5
+ nslookup dns-introducer.chia.net > %TEMP% \chia_dns.txt
6
+ cls
7
+ for /f " tokens=2 delims=: " %%i in ('type %TEMP% \chia_dns.txt ^ | find /I " Server:" ') do SET CURSERVER = %%i
8
+ for /f " tokens=2 delims=: " %%i in ('type %TEMP% \chia_dns.txt ^ | find /I " Address:" ') do SET CURADDR = %%i
9
+ for /f %%i in ('type %TEMP% \chia_dns.txt ^ | find /I /C " Name:" ') do SET DNSOK = %%i
10
+
11
+ for /f " tokens=*" %%i in ('date /t') do SET MYDATE = %%i
12
+ for /f " tokens=*" %%i in ('time /t') do SET MYTIME = %%i
13
+ ECHO .
14
+ ECHO .
15
+ if %DNSOK% == 1 ( ECHO DNS IS OK && goto GETOUT )
16
+ if %DNSOK% == 0 ECHO *** UNABLE TO REACH CHIA DNS ***
17
+ ECHO .
18
+ ECHO YOUR CURRENT DNS SERVER IS %CURSERVER%
19
+ ECHO YOUR CURRENT DNS ADDRESS IS %CURADDR%
20
+ REM for /f "tokens=4 delims= " %%i in ('netsh interface show interface ^| find "Connected"') do (
21
+ REM runas /user:Administrator "netsh interface ipv4 add dnsserver ^"%%i^" address=8.8.4.4 index=1"
22
+ REM runas /user:Administrator "netsh interface ipv4 add dnsserver ^"%%i^" address=1.0.0.1 index=2"
23
+ REM )
24
+
25
+ :GETOUT
26
+ ECHO .
27
+ ECHO YOUR CURRENT SYSTEM DATE/TIME IS %MYDATE%%MYTIME%
28
+ ECHO .
29
+ ECHO Please notify Chia support if your system date/time is incorrect
30
+ ECHO .
31
+ del %TEMP% \chia_dns.txt
32
+ pause
33
+
34
+ REM KNOWN DNS SERVERS WITH PROBLEMS CONNECTING TO DNS-INTRODUCER.CHIA.NET
35
+ REM 85.175.46.122
36
+ REM 159.69.114.157
37
+ REM 91.205.3.65
38
+ REM 85.175.46.130
39
+ REM 91.205.144.27
40
+ REM 194.190.174.17
41
+ REM 92.242.70.219
42
+ REM 81.30.212.189
43
+ REM 92.55.56.232
44
+ REM 188.128.110.67
45
+ REM 87.249.10.110
46
+ REM 87.249.10.108
47
+ REM 109.124.72.180
48
+ REM 77.244.76.153
49
+
You can’t perform that action at this time.
0 commit comments