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 12 of 15, other pages: 1 2 3 9 10 11 [12] 13 14 15
2013-12-31, 13:56:30
pay day loans  
rating
2014-01-01, 00:10:34
this article  
rating
2014-01-01, 03:35:20
payday loan  
rating
mmgxej http://paydayloansusapli.com/ payday loan 6363 http://paydayloansu..pld.co.uk/ click here for more info wvrLD http://paydayloansusapld.com/ fast payday loans 7838
2014-01-13, 09:58:52
payday loans  
rating
yquijgns http://paydayloansnsa.com/ payday loans 9833 http://paydayloans24x7.com/ payday loans 8]]] http://paydayloansmsa.com/ payday loans FNmHaO http://usapaydayloans24.com/ payday loans rpebqp http://paydayloansbsd.com/ payday loans lSsKk http://2012paydayloans.net/ payday loans >:-[
2014-01-13, 13:58:53
payday loans  
rating
fymuuz http://paydayloansusaplj.com/ payday loans 3540 http://paydayloansu..plh.co.uk/ payday loans 2646 http://paydayloansusaplh.com/ payday loans TSUPl
2014-01-24, 05:39:18
payday loans  
rating
uldnzfei http://paydayloansusaprc.com/ payday loans idkZiu http://paydayloansusapra.com/ you could try here =-] http://paydayloansu..prc.co.uk/ paydayuk XyKBz
2014-01-27, 18:30:27
payday loans  
rating
2014-01-28, 01:15:28
payday loans  
rating
2014-01-28, 10:27:30
paydayloansukprd.co.uk  
rating
dtepghi http://paydayloansu..prd.co.uk/ paydayloansukprd.co.uk 9504 http://paydayloansusaprd.com/ payday loans zZFshf http://paydayloansusaprb.com/ pay day loan >:-[
2014-02-08, 20:46:56
payday loans  
rating
nmdmhzqb http://paydayloansusaprg.com/ payday loans frwUs http://paydayloansu..pre.co.uk/ pay day loans 7544 http://paydayloansusapre.com/ payday loans 9336
2014-02-09, 14:52:53
payday loans  
rating
ujluktjh http://paydayloansusaplg.com/ payday loans >:-OOO http://paydayloansnsa.com/ payday loans =-] http://paydayloansbsd.com/ payday loans 1086 http://paydayloans24x7.com/ payday loans sFtoIk
2014-02-25, 22:06:56
payday loans  
rating
yfxcgjt http://paydayloansusapri.com/ payday loans >:-[ http://paydayloansu..prf.co.uk/ pay day loans IrxsA http://paydayloansusaprf.com/ cash advance 8115
2014-02-27, 05:11:59
apply for no credit check loans  
rating
ulowdc http://paydayloansusapri.com/ apply for no credit check loans 2979 http://paydayloansu..prf.co.uk/ payday UK 8065 http://paydayloansusaprf.com/ payday loans qmYbPV
2014-03-15, 01:08:37
quickquid  
rating
hmmqwhi http://paydayloansu..prh.co.uk/ quickquid viQAic http://paydayloansusaprh.com/ payday loans online up to 1000 8]]] http://paydayloansusaprj.com/ payday loans psVNlo
2014-03-17, 22:38:13
quickquid  
rating
You are on page 12 of 15, other pages: 1 2 3 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: