System.Net.DNS using different DNS server 
Author Message
 System.Net.DNS using different DNS server

I'm using the following code to get the host of a client
device connecting to my Server.

Dim hostInfo As IPHostEntry = System.Net.Dns.GetHostByName
("123.123.123.123)

I think this is using InterNic by default to get info
about the client, but I want to be able to use an internal
Server or a different external server.

How do I point this object to a different Server?

Mike Barlow

Mike Barlow



Sat, 09 Oct 2004 01:45:27 GMT  
 System.Net.DNS using different DNS server
It should be using whatever DNS Servers you have setup in your Network
Control Panels.

--
Joe Feser
Fesersoft
http://www.fesersoft.com/
.Net, XML, XSLT, SQL
Free Code, Articles and Information.


Quote:
> I'm using the following code to get the host of a client
> device connecting to my Server.

> Dim hostInfo As IPHostEntry = System.Net.Dns.GetHostByName
> ("123.123.123.123)

> I think this is using InterNic by default to get info
> about the client, but I want to be able to use an internal
> Server or a different external server.

> How do I point this object to a different Server?

> Mike Barlow

> Mike Barlow



Sat, 09 Oct 2004 02:28:42 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Problem in System.Net.Dns

2. System.Net.Dns - How to Read SOA Records

3. Help with DNS.BeginResolve and DNS.EndResolve

4. Trying to do DNS lookup and reverse DNS lookup

5. Programming A DNS - DNS Protocol

6. Update DNS, WINS, DNS Suffix with Script -- support VPN users

7. What DNS is a system using?

8. using vbs and DNS/WINS server

9. IS there a way to change DNS and WINS server addresses using Scripts

10. Adding Zones and records to the NT4 Dns Server using WSH

11. Howto query a DNS server using VB?

12. Managing OBDC: Creating, Editing, Deleting System DNS from withing Visual Basic

 

 
Powered by phpBB® Forum Software