Board index » delphi » Local DNS address
Robert
Delphi Developer |
Robert
Delphi Developer |
Local DNS address2004-04-06 09:47:46 PM delphi50 All, I'm looking for a way to get the local dns server address. The address that's set in the tcp/ip settings either by DHCP or manually. Any sample code would be of great help Thanks, Robert |
Lee J Cook
Delphi Developer |
2004-04-06 10:34:20 PM
Re:Local DNS address
Robert
look at the following Synapse homesite is at www.ararat.cz/synapse/ its has a "getdns" function to return the dns server of a PC Lee "Robert" <XXXX@XXXXX.COM>writes QuoteAll, |
Remy Lebeau (TeamB)
Delphi Developer |
2004-04-07 01:35:34 AM
Re:Local DNS address
"Robert" <XXXX@XXXXX.COM>writes
QuoteI'm looking for a way to get the local dns server address. Gambit |
Robert
Delphi Developer |
2004-04-07 11:28:57 AM
Re:Local DNS address
Gambit,
Thanks for the lead. The GetAdaptersInfo lead me to the GetNetworkParams Win32 function which is just what I was looking for. Robert "Remy Lebeau (TeamB)" <XXXX@XXXXX.COM>writes Quote
|
Robert
Delphi Developer |
2004-04-07 11:30:22 AM
Re:Local DNS address
Lee,
Thanks for the link. I downloaded the components and will check them out. Robert "Lee J Cook" <XXXX@XXXXX.COM>writes QuoteRobert |