Re: Obtain IP address of DNS server

Giganews Newsgroups
Subject: Re: Obtain IP address of DNS server
Posted by:  Remy Lebeau (TeamB) (gambit47.no.spam@no.spam.yahoo.com)
Date: Thu, 17 Jun 2004

"Steve McGrath" <steve@no-spam.here> wrote in message
news:389C20746AA1E240steve@no-spam.here...

> Is there any way Indy can return the address of
> current DNS server (as viewed with ipconfig).

Not with Indy, no.  You would have to query the OS or network adapter
directly.  Look at the GetPerAdapterInfo() or GetNetworkParams() function in
the Win32 API.

Gambit

Replies

None

In response to

Obtain IP address of DNS server posted by Steve McGrath on Thu, 17 Jun 2004