2014-09-30 40 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 2014-09-30 16:20:48

相關問題