windows下安裝dig

來源:互聯網
上載者:User

Dig是linux中的網域名稱解析工具,功能比nslookup強很多,使用也很方便,不用象nslookup總是set不停。

Dig是domain information groper的縮寫,知道了來源想必大家也就容易記住這條命令了。Dig現在已經有人移植到了window上,可以在這裡下載。

 

這裡以win7系統示範

一,下載後直接解壓到C盤

 

二、下載 CmdHereAsAdmin.inf 檔案,儲存到本地,右鍵選擇安裝

 

三、到目錄C:\dig,右鍵點擊dig檔案夾,選擇 Cmd Prompt Here As Administrator

 

四、複製 resolv.conf 檔案到 %systemroot%\system32\drivers\etc\

 

五、添加到環境變數,點開始菜單,選擇environment variables,把 ;c:\dig 添加到Path一欄

 

安裝完畢了,開啟命令列,輸入:  dig www.126.com

 

可以看到dig的結果了。

 

Max OS X 內建的

 

 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.