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 4 of 15, other pages: 1 2 3 [4] 5 6 7 12 13 14 15
2013-04-05, 14:37:09
hcxjuqf pay day loans 8916 payday loans australia 9439 fast cash advance 8]]] pay day loans eBCMU
2013-04-05, 14:45:42
eggzenq payday loans 4394 payday loans online =-] cash advance 6007 short term loan 4085
2013-04-05, 16:43:16
xvgfcvns order 50mg viagra >:]] order cialis online >:-[
2013-04-05, 23:43:30
vjjwlik order viagra online 5643 lowest cialis price online 8415
2013-04-06, 00:29:24
tjlznk payday advances 8]]] payday loans oFuXPC payday loan 4088 pay day loans 8]]]
2013-04-06, 14:49:28
lyinzh generic cheap viagra 9847 generic cialis doctor online 1111
2013-04-06, 15:28:40
qpuuqhvx payday cash CUDKZ payday loans fUxLP fast cash advance 5489 payday loan YPRnog
2013-04-06, 16:11:30
igvyrxlr payday loans FnrWii payday loans 8]]] fast cash advance ITnKd quickquid >:]]
2013-04-06, 16:44:48
ieffkx generic viagra aaPBo generic cialis >:]]
2013-04-06, 17:38:09
gcmnpa viagra 9764 buy generic cialis %-[[[
2013-04-06, 18:45:28
ekrufrpj buy generic viagra 8]]] buy cialis delived next day 9401
2013-04-07, 13:56:58
nsyapx viagra 9782 buy cialis online CfRjIw
2013-04-07, 16:13:48
qjwwgau buy viagra 2848 cialis %-[[[
2013-04-08, 04:45:53
usarjxgu generic viagra >:]] generic cialis rwQvq
2013-04-08, 05:23:35
schcman generic viagra fbXjo generic cialis JSAfsg
You are on page 4 of 15, other pages: 1 2 3 [4] 5 6 7 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: