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.


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


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


You are on page 2 of 15, other pages: 1 [2] 3 4 5 12 13 14 15
2013-03-20, 07:09:00
dynwxjux Bad Credit Loans 0259 payday advance RPNdvt payday loan =-] payday loan 6735
2013-03-20, 11:41:25
gfgejdrp payday loans >:-OOO payday advance dARWP Quick Quid >:-OOO payday loans gAiAI
2013-03-27, 14:24:00
jggeplnm cheap viagra >:]] cheap cialis 0709 cialis order 5 mg >:-[ viagra order cheap oGTmUE
2013-03-27, 21:50:17
rrpsiq cheap cialis AwtaO viagra cialis online order 8]]] viagra cheap :-O viagra order cheap 0233
2013-03-27, 22:30:14
nvplzha cheap viagra tablets >:]] cialis order WcCzCg order viagra online 0938 generic cialis cheap 5180
2013-03-27, 23:27:16
vpywite payday loans australia >:-OOO payday loans online 6503 payday loans 6426 payday loans UK %-[[[
2013-03-29, 03:21:07
uduppqx payday loans online =-] payday loans OVzUW payday advances PMWEOy payday loans australia RSXJci
2013-03-29, 05:36:30
sbxvpvdu Payday UK 8]]] payday loans 5307 payday loans 7887 payday loans online 8]]]
2013-03-29, 21:02:27
2013-03-30, 03:26:45
mdawfc pay day loans 2762 instant payday loans 4558 pay day loan vPqRy payday loans online ZoPQM
2013-03-30, 18:18:43
htrhccab payday loan %-[[[ payday loan DHEJF payday loans >:]] payday advances >:-[
2013-04-01, 13:24:48
nbpcbeb generic viagra iIMIpf generic cialis doctor online NukqD
2013-04-01, 14:05:33
kepcpnad generic viagra online jYMYJM generic cialis yxWJuJ
2013-04-01, 18:51:55
2013-04-01, 19:44:38
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: