BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to know DNS server address in my LAN?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
GoodOk
Guest





PostPosted: Mon Dec 22, 2003 5:10 pm    Post subject: How to know DNS server address in my LAN? Reply with quote



Goodday!
Can anyone help me to know DNS server address in my home LAN? I think it
can exist and some utils can "tell" me it address, but i don't know this
utils.


Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Mon Dec 22, 2003 7:09 pm    Post subject: Re: How to know DNS server address in my LAN? Reply with quote




"GoodOk" <roma (AT) goodok (DOT) ru> wrote


Quote:
Can anyone help me to know DNS server address in my home LAN?

Unless your LAN has its own dedicated DNS server, then you are probably
using the DNS of your ISP. Look at the GetAdapterInfo() function in the
Win32 API for obtaining information about your internet connection,
including the DNS server address(es).


Gambit



Back to top
Ben Hochstrasser [FF]
Guest





PostPosted: Mon Dec 22, 2003 7:11 pm    Post subject: Re: How to know DNS server address in my LAN? Reply with quote



Remy Lebeau (TeamB) wrote:

Quote:
Unless your LAN has its own dedicated DNS server, then you are probably
using the DNS of your ISP. Look at the GetAdapterInfo() function in the
Win32 API for obtaining information about your internet connection,
including the DNS server address(es).

....or download Synapse and use the GetDNS() function in the SynaMisc unit.

ex: ListBox1.Items.CommaText := GetDNS;

--
Ben

Back to top
GoodOk
Guest





PostPosted: Mon Dec 22, 2003 8:04 pm    Post subject: Re: How to know DNS server address in my LAN? Reply with quote

very thanx you and Ben Hochstrasser: will try both ways right now.

--
Roma Gudchenko mailto:roma (AT) goodok (DOT) ru
"Remy Lebeau (TeamB)" <gambit47.no.spam (AT) no (DOT) spam.yahoo.com> сообщил/сообщила
в новостях следующее: news:3fe7404c$1 (AT) newsgroups (DOT) borland.com...
Quote:

"GoodOk" <roma (AT) goodok (DOT) ru> wrote in message
news:3fe72571 (AT) newsgroups (DOT) borland.com...

Can anyone help me to know DNS server address in my home LAN?

Unless your LAN has its own dedicated DNS server, then you are probably
using the DNS of your ISP. Look at the GetAdapterInfo() function in the
Win32 API for obtaining information about your internet connection,
including the DNS server address(es).


Gambit





Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.