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 2 of 15, other pages: 1 [2] 3 4 5 12 13 14 15
2013-03-19, 03:03:52
 
rating
jpwxmx http://paydayloansa..iafsf.com/ payday loans australia 8]]] http://paydayloansusafsf.com/ cash advance 9050 http://paydayloansu..fsf.co.uk/ online payday YNUsgD http://paydayloansc..adafsf.ca/ payday loans >:-[
2013-03-20, 07:09:00
 
rating
dynwxjux http://paydayloansu..fsf.co.uk/ Bad Credit Loans 0259 http://paydayloansusafsf.com/ payday advance RPNdvt http://paydayloansc..adafsf.ca/ payday loan =-] http://paydayloansa..iafsf.com/ payday loan 6735
2013-03-20, 11:41:25
 
rating
gfgejdrp http://paydayloansa..iafsf.com/ payday loans >:-OOO http://paydayloansusafsf.com/ payday advance dARWP http://paydayloansu..fsf.co.uk/ Quick Quid >:-OOO http://paydayloansc..adafsf.ca/ payday loans gAiAI
2013-03-27, 14:24:00
 
rating
jggeplnm http://cheapviagradsc.com/ cheap viagra >:]] http://cheapcialisdsc.com/ cheap cialis 0709 http://ordercialisdsc.com/ cialis order 5 mg >:-[ http://orderviagradsc.com/ viagra order cheap oGTmUE
2013-03-27, 21:50:17
 
rating
rrpsiq http://cheapcialisdsc.com/ cheap cialis AwtaO http://ordercialisdsc.com/ viagra cialis online order 8]]] http://cheapviagradsc.com/ viagra cheap :-O http://orderviagradsc.com/ viagra order cheap 0233
2013-03-27, 22:30:14
 
rating
nvplzha http://cheapviagradsc.com/ cheap viagra tablets >:]] http://ordercialisdsc.com/ cialis order WcCzCg http://orderviagradsc.com/ order viagra online 0938 http://cheapcialisdsc.com/ generic cialis cheap 5180
2013-03-27, 23:27:16
 
rating
vpywite http://paydayloansa..iafsg.com/ payday loans australia >:-OOO http://paydayloansc..adafsg.ca/ payday loans online 6503 http://paydayloansusafsg.com/ payday loans 6426 http://paydayloansu..fsg.co.uk/ payday loans UK %-[[[
2013-03-29, 03:21:07
 
rating
uduppqx http://paydayloansusafsg.com/ payday loans online =-] http://paydayloansc..adafsg.ca/ payday loans OVzUW http://paydayloansu..fsg.co.uk/ payday advances PMWEOy http://paydayloansa..iafsg.com/ payday loans australia RSXJci
2013-03-29, 05:36:30
 
rating
sbxvpvdu http://paydayloansu..fsg.co.uk/ Payday UK 8]]] http://paydayloansusafsg.com/ payday loans 5307 http://paydayloansc..adafsg.ca/ payday loans 7887 http://paydayloansa..iafsg.com/ payday loans online 8]]]
2013-03-29, 21:02:27
 
rating
mkrxxki
2013-03-30, 03:26:45
 
rating
mdawfc http://paydayloansu..fsi.co.uk/ pay day loans 2762 http://paydayloansusafsi.com/ instant payday loans 4558 http://paydayloansc..adafsi.ca/ pay day loan vPqRy http://paydayloansa..iafsi.com/ payday loans online ZoPQM
2013-03-30, 18:18:43
 
rating
htrhccab http://paydayloansusafsi.com/ payday loan %-[[[ http://paydayloansa..iafsi.com/ payday loan DHEJF http://paydayloansc..adafsi.ca/ payday loans >:]] http://paydayloansu..fsi.co.uk/ payday advances >:-[
2013-04-01, 13:24:48
 
rating
nbpcbeb http://genericviagradsc.com/ generic viagra iIMIpf http://genericcialisdsc.com/ generic cialis doctor online NukqD
2013-04-01, 14:05:33
 
rating
kepcpnad http://genericviagradsc.com/ generic viagra online jYMYJM http://genericcialisdsc.com/ generic cialis yxWJuJ
2013-04-01, 18:51:55
 
rating
You are on page 2 of 15, other pages: 1 [2] 3 4 5 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: