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 11 of 15, other pages: 1 2 3 8 9 10 [11] 12 13 14 15
2013-11-14, 02:37:39
cigarettes  
rating
krnvbek http://skyviewvfc.com/ 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  
rating
dembzxm http://paydayloansusatrj.com/ fast payday loan >:-OOO http://paydayloansu..trh.co.uk/ quickquid 0360 http://paydayloansusatrh.com/ payday loans >:-[
2013-11-14, 17:26:53
payday loans  
rating
jkvlgwlo http://paydayloansusatrh.com/ payday loans OBrqX http://paydayloansu..trh.co.uk/ payday loans %-[[[ http://paydayloansusatrj.com/ payday advance wkoXtt
2013-11-26, 19:39:30
pay day loans  
rating
ptxfasg http://paydayloansu..pqg.co.uk/ pay day loans WpjBju http://paydayloansusapqb.com/ payday loans yavwmE http://paydayloansusapqg.com/ personal loans =-]
2013-11-28, 03:03:40
payday loans  
rating
gwivjz http://paydayloansusapqh.com/ payday loans VoKdH http://paydayloansu..pqh.co.uk/ quick quid wmxPR http://paydayloansusapqf.com/ fast payday loan 8835
2013-11-28, 13:08:14
payday loans  
rating
lshatzwj http://paydayloansu..pqf.co.uk/ payday loans %-[[[ http://paydayloansusapqh.com/ fast payday loan >:-OOO http://paydayloansusapqf.com/ payday loans 9990
2013-12-05, 03:50:06
fast cash advance  
rating
pdsiejuc http://paydayloansusapqd.com/ fast cash advance >:]] http://paydayloansu..pqj.co.uk/ payday loans 6296
2013-12-05, 09:45:34
payday loan  
rating
hzojtpt http://paydayloansu..pqd.co.uk/ payday loan >:-OOO http://paydayloansusapqd.com/ payday loans >:]] http://paydayloansusapqj.com/ payday loans 7624
2013-12-15, 16:20:29
payday loan  
rating
mqtwkrr http://paydayloansusapqd.com/ payday loan 2964 http://paydayloansusapqj.com/ fast cash advance 2350 http://paydayloansu..pqj.co.uk/ payday loans 7074
2013-12-16, 02:27:47
no fax payday loans  
rating
lwomtp http://paydayloansusapqd.com/ no fax payday loans kmGBfR http://paydayloansu..pqj.co.uk/ payday loans >:-OOO http://paydayloansusapqj.com/ no fax payday loans oyCuC
2013-12-18, 01:10:03
payday loans  
rating
sthtwov http://paydayloansusapqd.com/ payday loans SjGFJT http://paydayloansusapqj.com/ quick payday loans 2233 http://paydayloansu..pqj.co.uk/ payday loans 7529
2013-12-18, 06:04:26
payday loans  
rating
2013-12-30, 02:02:52
website  
rating
bteozu http://paydayloansusaplc.com/ website YRLYHc http://paydayloansu..plc.co.uk/ pop over to this web-site 2050 http://paydayloansusaple.com/ pay day loan IeXKZf
2013-12-31, 08:36:40
over here  
rating
otsqcqx http://paydayloansusapld.com/ over here :-O http://paydayloansu..pld.co.uk/ i was reading this HeqpZX http://paydayloansusapli.com/ payday loans 7991
2013-12-31, 13:56:30
pay day loans  
rating
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: