Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
How Can Write Code of dns Algorithm
I need To "Algorithm" Of Dns ?
Posted
Comments
R. Giskard Reventlov 21-May-12 14:09pm    
Huh? You're going to need to be far more specific. Besides, you should not ask for a solution, just for help when you get stuck with your own code.
Sergey Alexandrovich Kryukov 21-May-12 14:42pm    
You are right. Nevertheless, I provided some general suggestion in my answer, mostly they can be useful for others; please see.
--SA

1 solution

Please see the comment to this question by Mark Merrens. The question is completely unclear.
Nevertheless, look at the relevant .NET classes: System.Net.Dns, System.Net.DnsEndPoint, System.Net.DnsPermission; please see:
http://msdn.microsoft.com/en-us/library/btdf6a7e[^].

What else may you need? Need source code to see how its works? In fact, .NET source code is available, but it is licensed the way we can only use it for debugging purposes, pretty much so. Nevertheless, it should be enough for you if you just want to learn how things work. Please see this article:
http://blogs.msdn.com/b/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspx[^].

There is an alternative way: you can freely download source code of Mono, alternative open-source CLR implementation and learn it. The code in the namespace System.Net is supposed to be compliant to the ECMA-335 standard, partition III, so it should be fully compatible with Microsoft .NET. Please see:
http://www.ecma-international.org/publications/standards/Ecma-335.htm[^],
http://en.wikipedia.org/wiki/Mono_%28software%29[^],
http://www.mono-project.com/Main_Page[^].

You can download the source code here: http://download.mono-project.com/sources/[^].

By the way, I personally found that working with this stuff was not so hard. For troubleshooting of compatibility-related problems, I even managed to mix .NET and Mono source code in one .NET assembly and pin-pointed and resolved the problems.

—SA
 
Share this answer
 
Comments
Maciej Los 21-May-12 15:08pm    
Question is still unclear. Probably, OP want to know DNS Algorithm (Dekel, Nassimi, Sahni). The DNS algorithm based on partitioning intermidiate data that can use up to n3 processes and performs matrix multiplication in time (log n) by using..., not DNS as Domain Name System.
DNS algorithm
Sergey Alexandrovich Kryukov 21-May-12 18:15pm    
A-aa... my fault; I did not know about it. Well, thank you for this note.
That's why it's too bad to use abbreviations only in questions, except some well-known ones. And yes, the question is not clear...
--SA

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