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 13 of 15, other pages: 1 2 3 10 11 12 [13] 14 15
2014-03-21, 18:55:18
quick payday loans  
rating
ieazzhi http://paydayloansusaprj.com/ quick payday loans LmfDhq http://paydayloansusaprh.com/ payday loans 8108 http://paydayloansu..prj.co.uk/ pay day loans >:-OOO
2014-03-25, 00:50:35
sayna589@gmail.com from India  
rating
It's the best way to make [url= http://www.besteasy..uk/]payday loans[/url] and credit card debt less intrusive on your budgets. There are much better ways you can be spending your money: retirement or college funds, building an emergency savings account or plan for next year's holiday.
6 month payday loan is an [url= http://www.onlinepa..uk/]payday loans online[/url] extended form of short term loans that allows needy loan seekers in UK to grab an amount range from 100 to 1000 pounds within easy and quick manner. If you also need some additional fund besides your wages to settle down your various financial works then it could easily be done with the [url= http://paydayloansf..uk/]payday loans uk[/url] help of month short term loans. They are the quickest loan matching services which can allow you to borrow quick fund of upto 1000 pound with quick and timeframe delivery.
2014-03-25, 23:49:23
andrewmatin589@gmail.com from India  
rating
Thus, the lenders approve http://paydayloansf..ces.co.uk/ the loans only http://www.yespayda..nss.co.uk/ debit cards that can make http://www.ukpayday..der.co.uk/ the loan account, the lender is deposited.
2014-03-27, 00:29:13
herrythomas589@gmail.com from India  
Costs such as paying bills, house rent, home improvement, tuition fees of children, vehicle maintenance, repair of musical gadgets and so [url= http://www.onlinepa..uk/]payday loans[/url] on can be easily met with this loan. can borrow money in a range of £ 50 to £ 500 by loans from [url= http://paydayloansf..uk/]payday loans online[/url] the door. This is the small piece of funding that can be used for its small needs. The repayment period of the loan is flexible. A duration of 1 to 31 days [url= http://www.yespayda..uk/]payday loans uk[/url] is obtained. Therefore, you can easily pay back the advance, while wages moved into his bank account.
2014-04-07, 18:57:23
http://orderviagraffd.com/  
rating
2014-04-08, 02:53:03
cheap cialis  
rating
2014-04-12, 02:10:10
andersonwilliams43@gmail.com from India  
But in case of bad credit loans or bad credit loans , usually [url= http://www.loansfor..co.uk/]bad credit loans[/url] people take resort of unsecured loans. This is because it saves a good amount of loan processing time. There are many lenders in the UK market [url= http://www.eshortte...uk/]short term loans[/url] which can easily approve the bad credit loans . There are at least [url= http://www.loansfor...uk/]loans for bad credit[/url] formalities and the process is very fast.
2014-04-15, 22:49:44
http://genericcialisffd.com/  
rating
2014-05-03, 19:37:54
unsecured loans online up to 1000  
rating
isnkphhg http://paydayloansitl.com/ unsecured loans online up to 1000 >:]] http://paydayloansitq.com/ 100 day loans %-[[[ http://paydayloansith.com/ payday loans nbTnDZ http://paydayloansitc.com/ instant loans toeel
2014-05-12, 14:35:24
short term loans  
rating
entpyyxn http://paydayloansitg.com/ short term loans cvtBHZ http://paydayloansitu.com/ personal loans for bad credit jcIEr http://paydayloansitb.com/ apply for no credit check loans >:-OOO http://paydayloansits.com/ no credit check loans 8535
2014-05-12, 19:34:11
payday loans  
rating
wcakxm http://paydayloansusaprh.com/ payday loans 1024 http://paydayloansmsa.com/ payday loans hJfVsM http://paydayloansnsa.com/ payday loans =-] http://paydayloansusaplg.com/ payday loans rchBsD http://2012paydayloans.net/ payday loans >:-[
2014-05-14, 14:09:28
payday loans  
rating
xjrzpcup http://paydayloansusaprh.com/ payday loans :-O http://paydayloansusaplg.com/ payday loans 5315 http://paydayloansnsa.com/ payday loans >:]] http://paydayloans24x7.com/ payday loans 8665 http://2012paydayloans.net/ payday loans 7597
2014-05-15, 00:57:08
online payday loans  
rating
xaoalv http://paydayloansitp.com/ online payday loans 7036 http://paydayloansitn.com/ quick cash loans 0266 http://paydayloansita.com/ payday loans 8]]] http://paydayloansitj.com/ loans for people with bad credit >:-[
2014-05-15, 19:53:13
online payday loans  
rating
iiohee http://paydayloansitp.com/ online payday loans 1331 http://paydayloansita.com/ payday loans >:-[ http://paydayloansitj.com/ loans for people with bad credit 2583 http://paydayloansitn.com/ quick cash loans 3474
2014-05-20, 09:53:32
personal loans for bad credit  
rating
rqgxjra http://paydayloansitu.com/ personal loans for bad credit 6335 http://paydayloansitb.com/ apply for no credit check loans >:-OOO http://paydayloansitg.com/ short term loans 6221 http://paydayloansits.com/ no credit check loans veJLur
You are on page 13 of 15, other pages: 1 2 3 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: