DelphiFAQ Home Search:

Determine the DNS server address when connected through dialup


comments213 comments. Current rating: 3 stars (209 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 11 of 15, other pages: 1 2 3 8 9 10 [11] 12 13 14 15
2013-11-14, 02:37:39
krnvbek cigarettes 3915 http://skyviewvfc.c..trike.html lucky strike >:-OOO http://skyviewvfc.c..lmall.html pallmall cigarettes 8]]] http://skyviewvfc.c..camel.html camel cigarettes 8770 http://skyviewvfc.c..igars.html cigars GBYaAh
2013-11-14, 12:21:35
fast payday loan  
dembzxm fast payday loan >:-OOO quickquid 0360 payday loans >:-[
2013-11-14, 17:26:53
payday loans  
jkvlgwlo payday loans OBrqX payday loans %-[[[ payday advance wkoXtt
2013-11-26, 19:39:30
pay day loans  
ptxfasg pay day loans WpjBju payday loans yavwmE personal loans =-]
2013-11-28, 03:03:40
payday loans  
gwivjz payday loans VoKdH quick quid wmxPR fast payday loan 8835
2013-11-28, 13:08:14
payday loans  
lshatzwj payday loans %-[[[ fast payday loan >:-OOO payday loans 9990
2013-12-05, 03:50:06
fast cash advance  
pdsiejuc fast cash advance >:]] payday loans 6296
2013-12-05, 09:45:34
payday loan  
hzojtpt payday loan >:-OOO payday loans >:]] payday loans 7624
2013-12-15, 16:20:29
payday loan  
mqtwkrr payday loan 2964 fast cash advance 2350 payday loans 7074
2013-12-16, 02:27:47
no fax payday loans  
lwomtp no fax payday loans kmGBfR payday loans >:-OOO no fax payday loans oyCuC
2013-12-18, 01:10:03
payday loans  
sthtwov payday loans SjGFJT quick payday loans 2233 payday loans 7529
2013-12-18, 06:04:26
payday loans  
2013-12-30, 02:02:52
bteozu website YRLYHc pop over to this web-site 2050 pay day loan IeXKZf
2013-12-31, 08:36:40
over here  
otsqcqx over here :-O i was reading this HeqpZX payday loans 7991
2013-12-31, 13:56:30
pay day loans  
You are on page 11 of 15, other pages: 1 2 3 8 9 10 [11] 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: