Click here to Skip to main content
15,913,685 members
Please Sign up or sign in to vote.
2.33/5 (3 votes)
See more:
How can I write a small program to search for available DNS servers? I have no idea about where to start. In some example, only domain name can be change to ip address.
But how to find out the DNS servers in Internet?How to communicate with the DNS servers?
Posted
Updated 30-Mar-10 7:19am
v4

1 solution

"If you fail to plan, you plan to fail."

Here's to help you start with understanding the required underlying networking protocols:



You'll realize that those are in order from bottom up on the protocol stack.

Bear in mind that DNS is both a TCP and UDP protocol (port 53 is the standard).

You also might want to keep in mind the concept of Subnetting and Netmasking[^]


Once grounded properly with the concepts that you need, post back with plans or code and we'll gladly help out
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900