DelphiFAQ Home Search:

Determine the DNS server address when connected through dialup


comments216 comments. Current rating: 3 stars (210 votes). Leave comments and/ or rate it.


I get the DNS server address assigned by my ISP dynamically and need to (programmatically) read the DNS server addresses.


Under Windows 2000 and newer, use the command line tool ipconfig with parameter /all:

ipconfig /all

This will return among other information all DNS server ip addresses. If you're writing code in a high-level language, span this program, redirect the output to a text file and afterwards read the lines preceeded by the keyword DNS-Server. (Valid for XP, the actual keyword may be different in other Windows versions.)

Under Windows 95 and Windows 98 there is no tool ipconfig. Instead you can use WinIPcfg (which is a graphical tool; cannot be read from your own application if that was desired.)

Under Linux the command is ifconfig.

Content-type: text/html


You are on page 15 of 15, other pages: 1 2 3 12 13 14 [15]
2014-08-11, 03:43:49
sameday loan  
zviikh sameday loan bafXmw spot loan 6838 payday loans ZTtWrR money mutual 5147 sameday payday loans online 0154
2014-08-16, 06:23:59
payday loans  
jqdhnsuz payday loans 3635 payday loans 4272 payday loans 3573 payday loans tuiNL payday loans 5281
2014-08-18, 00:22:11
next day loans  
spvrcyil next day loans zxFTH payday loans 9812 payday loans 4376 money mutual :-O payday loans >:-[
2014-11-26, 09:19:19
payday loans  
lctqmtsp payday loans vkprzW payday loans qxtva payday loans >:-OOO payday loans 1184 payday loans %-[[[ payday loans OVOxr
2014-11-28, 09:40:51
payday loans  
feseemqa payday loans HMFQt payday loans :-O pay day loans 8]]] payday loans cAzQwo payday loans qaraR payday loans 9136
2015-04-08, 14:26:39
You are on page 15 of 15, other pages: 1 2 3 12 13 14 [15]



NEW: Optional: Register   Login
Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option, or post under a registered account.

Show city and country
Show country only
Hide my location
You can mark text as 'quoted' by putting [quote] .. [/quote] around it.
Please type in the code:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity.
The owner of this web site reserves the right to delete such material.

photo Add a picture: