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.

Question:

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

Answer:

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

Comments:

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
http://paydayloansusaalf.com/  
rating
2013-07-31, 19:02:55
pay day loans  
rating
2013-08-01, 00:14:34
Payday UK  
rating
2013-08-02, 19:18:39
http://paydayloansusaalg.com/  
rating
2013-08-03, 03:18:57
Bad Credit Loans  
rating
zmkdnmn http://paydayloansu..alj.co.uk/ Bad Credit Loans :-O http://paydayloansusaalj.com/ payday loan 1105 http://paydayloansc..adaalj.ca/ cash advance online 2208
2013-08-03, 13:45:56
quick quid  
rating
2013-08-04, 08:41:17
http://paydayloansukalg.co.uk/  
rating
2013-08-06, 03:56:02
payday loan  
rating
2013-08-06, 07:00:49
payday loans  
rating
uhclnifq http://paydayloansu..ccc.co.uk/ payday loans nsggGd http://paydayloansusaccc.com/ payday loan >:-OOO http://paydayloansc..adaccc.ca/ payday loan 5474
2013-08-06, 12:39:58
payday loans  
rating
2013-08-06, 14:54:51
http://paydayloansukalj.co.uk/  
rating
2013-08-07, 06:07:08
http://paydayloansusacce.com/  
rating
2013-08-07, 07:55:17
Quick Quid  
rating
hivuzwpp http://paydayloansu..cce.co.uk/ Quick Quid 7080 http://paydayloansusacce.com/ quick payday loans >:-OOO http://paydayloansc..adacce.ca/ payday loan Canada mATnEB
2013-08-07, 13:55:00
payday loans UK  
rating
2013-08-15, 04:35:13
paydayuk  
rating
aklbinas http://paydayloansu..cci.co.uk/ paydayuk 8]]] http://paydayloansusacci.com/ payday loans JkYKO http://paydayloansc..adacci.ca/ 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: