0
解析主機,我需要使用特定的DNS服務器,就像您在nslookup來解析主機名NSLOOKUP C#和C++使用特定的服務器
C:\>nslookup hotname 192.100.10.10
Server: UnKnown
Address: 192.100.10.10
Name: hostname.host
Address: 192.100.10.14
但是,當然,作爲回報,我不只是想地址我希望所有的值Server
,Address
,Name
和Address
我已經看了看System.Net.Dns
類,但只給我解析的IP地址,並沒有讓我選擇我的選擇
如果有人已經做到這一點,你可以幫助我。
編輯:
發現了一對C#:http://www.simpledns.com/dns-client-lib.aspx
這裏是我的代碼片段只是一些娛樂
//Buy him Cookies and Strippers
using JHSoftware;