DelphiFAQ Home Search:

Determine the DNS server address when connected through dialup


comments212 comments. Current rating: 3 stars (208 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 9 of 15, other pages: 1 2 3 6 7 8 [9] 10 11 12 13 14 15
2013-07-21, 00:34:33  
2013-07-31, 19:02:55
pay day loans  
2013-08-01, 00:14:34
Payday UK  
2013-08-02, 19:18:39  
2013-08-03, 03:18:57
Bad Credit Loans  
zmkdnmn Bad Credit Loans :-O payday loan 1105 cash advance online 2208
2013-08-03, 13:45:56
quick quid  
2013-08-04, 08:41:17  
2013-08-06, 03:56:02
payday loan  
2013-08-06, 07:00:49
payday loans  
uhclnifq payday loans nsggGd payday loan >:-OOO payday loan 5474
2013-08-06, 12:39:58
payday loans  
2013-08-06, 14:54:51  
2013-08-07, 06:07:08  
2013-08-07, 07:55:17
Quick Quid  
hivuzwpp Quick Quid 7080 quick payday loans >:-OOO payday loan Canada mATnEB
2013-08-07, 13:55:00
payday loans UK  
2013-08-15, 04:35:13
aklbinas paydayuk 8]]] payday loans JkYKO payday loans online 4302
You are on page 9 of 15, other pages: 1 2 3 6 7 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: