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 3 of 15, other pages: 1 2 [3] 4 5 6 12 13 14 15
2013-04-02, 02:48:02
lbouaxuu payday loans UK 8783 payday loans australia 7354 pay day loan 9977 pay day loan :-O
2013-04-02, 14:40:52
ndwlmytg cheap viagra 1404 find cheap cialis 5473
2013-04-02, 14:56:00
kqhjdk cheap generic viagra >:-OOO cheap cialis psWoL
2013-04-02, 18:24:57
tlsddqpo viagra 3567 buy cialis soft online IYkynQ
2013-04-03, 03:57:27
yrmcewjr generic viagra rQsPhm generic cialis >:-[
2013-04-03, 07:47:00
sxbmuzqa payday loans ksmZct fast cash advance 3590 pay day loans 1669 payday loan gLVWS
2013-04-03, 14:10:07
vdaiyhe viagra Zvagq buy cialis online now 1597
2013-04-03, 14:12:53
hqzipo where can i buy viagra online 1717 buy cialis without prescription iEmMA
2013-04-04, 05:07:19
cjqcxjw buy cheap viagra soft =-] cheap cialis NCyIZ
2013-04-04, 06:31:54
ixnqiu cheap viagra PbnDVC cheap cialis %-[[[
2013-04-04, 15:44:56
btfaltv where can i buy viagra online bVpeIC cialis online MZgCeT
2013-04-04, 15:58:48
stvfhbv buy viagra online >:-OOO cialis online rnblkx
2013-04-04, 17:51:21
2013-04-04, 21:43:56
jsiwzcz payday loans 8]]] cash advance TCoydk payday loans wFCzlW payday loans AuhlbB
2013-04-05, 14:15:00
tnbxuz viagra order uk 2049 order cialis %-[[[
You are on page 3 of 15, other pages: 1 2 [3] 4 5 6 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: