2014-09-30 3 views
1

whois 명령을 수동으로 수행 할 수 있지만 DNS 주소 목록을 반복 할 때 작동하지 않습니다. 코드 : 두 개의 주소에 대한배치 : 루프에서 whois 명령을 실행해도 작동하지 않는 것처럼 보입니다.

for /F "tokens=*" %%A in (dnsnames.txt) DO whois %%A > results.txt 

출력 :

Whois v1.12 - Domain information lookup utility 
Sysinternals - www.sysinternals.com 
Copyright (C) 2005-2014 Mark Russinovich 

Connecting to COM.whois-servers.net... 
Connecting to COM.whois-servers.net... 
Connecting to whois.markmonitor.com... 

답변

1

나는이 메시지 :

TERMS OF USE: You are not authorized to access or query our Whois 
database through the use of electronic processes that are high-volume and 
automated except ... 
+0

아마 내 문제의 그 (나는 >>>에 변경하는 경우). – pxslfds

관련 문제