DelphiFAQ Home Search:

Determine the DNS server address when connected through dialup

 

comments215 comments. Current rating: 3 stars (209 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 14 of 15, other pages: 1 2 3 11 12 13 [14] 15
2014-06-01, 07:57:28
payday installment loans  
rating
zfasxi http://paydayloansqdb.com/ payday installment loans 7086 http://paydayloansqdk.com/ apply for small loans kmzNb http://paydayloansqdq.com/ payday loans hmIfQ http://paydayloansqdm.com/ money mutual funds =-]
2014-06-07, 06:12:39
payday loans  
rating
fgyocywf http://paydayloansqdp.com/ payday loans 5931 http://paydayloansqdh.com/ apply for fast cash >:-OOO http://paydayloansqdc.com/ online loans with no credit check bqpslU http://paydayloansqdr.com/ loans without credit check 0759
2014-06-09, 11:21:15
payday loans  
rating
jrjzgf http://paydayloansnsa.com/ payday loans >:-OOO http://paydayloansusaprh.com/ payday loans 8120 http://2012paydayloans.net/ payday loans 1206 http://paydayloansusaplg.com/ payday loans 1690 http://paydayloans24x7.com/ payday loans DMULg http://paydayloansitt.com/ payday loans :-O http://paydayloansmsa.com/ payday loans cGVmGT http://paydayloansitm.com/ payday loans 6070
2014-06-11, 11:41:25
payday loans  
rating
bvlaef http://2012paydayloans.net/ payday loans >:]] http://paydayloansitm.com/ payday loans >:]] http://paydayloansusaprh.com/ payday loans >:-[ http://paydayloansnsa.com/ payday loans %-[[[ http://paydayloansitt.com/ payday loans >:]] http://paydayloans24x7.com/ payday loans 7652 http://paydayloansusaplg.com/ payday loans :-O http://paydayloansmsa.com/ payday loans dQuEeT
2014-06-18, 23:17:14
andersonwilliams43@gmail.com from India  
rating
Warungu emergencies such kinds of difficult situations for which we need to be a calm reply Have you set aside to keep an amount of money to go to a weekend trip for your family members? Has a medical emergency occur, but the amount you have saved for them, is not sufficient? This critical situation can be even more problematic when the next review of the content is also a few days and you've got no money to keep in the form of a benefit more.

http://www.efastloa..ine.co.uk/
http://www.equickpa..oans.html
2014-06-25, 07:59:55
quick money loans  
rating
fnxyvqk http://paydayloansqdn.com/ quick money loans wcdYTt http://paydayloansqdi.com/ money mutual EeJvrm http://paydayloansqdd.com/ 24 hour loans mpLYc http://paydayloansqdt.com/ 100 day loan bPXJY
2014-06-25, 22:52:56
money mutual  
rating
vldkww http://paydayloansqdi.com/ money mutual 9098 http://paydayloansqdt.com/ 100 day loan 0412 http://paydayloansqdd.com/ 24 hour loans hIPyuE http://paydayloansqdn.com/ quick money loans 3547
2014-06-29, 00:39:17
payday loans  
rating
cqxbhjuw http://2012paydayloans.net/ payday loans >:-[ http://paydayloansusaprh.com/ payday loans 6323 http://paydayloansnsa.com/ payday loans 2641 http://paydayloansmsa.com/ payday loans YoCIZ
2014-06-30, 12:37:39
online loans same day  
rating
wcgmlz http://paydayloansqdo.com/ online loans same day dKJaD http://paydayloansqdj.com/ magnum cash advance 5989 http://paydayloansqdf.com/ instant loan today HdeNZ http://paydayloansqds.com/ instant cash loans GZtjRk
2014-07-11, 20:07:25
payday loans  
rating
gwihcczk http://paydayloansmsa.com/ payday loans 1450 http://paydayloansqda.com/ payday loans VTFlZU http://paydayloansitm.com/ payday loans WaUqr http://paydayloansusaplg.com/ payday loans =-]
2014-07-15, 13:44:49
payday loans  
rating
vvnseza http://paydayloansmsa.com/ payday loans 7494 http://paydayloansusaplg.com/ payday loans :-O http://2012paydayloans.net/ payday loans =-] http://paydayloansqda.com/ payday loans 2357
2014-07-17, 08:32:37
payday loans  
rating
ibgdnrsp http://paydayloans24x7.com/ payday loans XukRoQ http://paydayloansusaprh.com/ payday loans ZKRBm http://2012paydayloans.net/ payday loans 8]]] http://paydayloansitm.com/ payday loans 7621
2014-08-05, 23:32:49
emergency loans for bad credit  
rating
hlqsoqkh http://paydayloansqxa.com/ emergency loans for bad credit 2766 http://paydayloansqxm.com/ get a loan today >:-OOO http://paydayloansqxg.com/ money mutual installment loans :-O http://paydayloansqxt.com/ plain green loans 8]]] http://paydayloansqxn.com/ money mutual 8]]]
2014-08-06, 20:27:05
money mutual  
rating
rjysdxk http://paydayloansqxn.com/ money mutual 3760 http://paydayloansqxa.com/ emergency loans for bad credit 7553 http://paydayloansqxt.com/ plain green loans BikBW http://paydayloansqxm.com/ get a loan today 8]]] http://paydayloansqxg.com/ money mutual installment loans %-[[[
2014-08-07, 17:23:31
payday loans  
rating
oviaom http://paydayloansqxk.com/ payday loans 4256 http://paydayloansqxc.com/ easy payday loans EDJdz http://paydayloansqxp.com/ cash loans online FMCGO http://paydayloansqxu.com/ mobile loans JAYwsn http://paydayloansqxh.com/ money mutual 8]]]
You are on page 14 of 15, other pages: 1 2 3 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: