Hello DIC
I am going to code a dns server, but i can't find where should i start it.
I downloaded some source codes of dns servers but they are really complex. i need a simple dns server.
How can i code a dns server?
Page 1 of 14 Replies - 3445 Views - Last Post: 26 December 2012 - 10:19 AM
Replies To: How can i code a dns server?
#2
Re: How can i code a dns server?
Posted 30 November 2012 - 09:30 AM
First you want to find the port you need to bind, I believe this is port 53.
This really should be posted under what language you are going to code this in.
This really should be posted under what language you are going to code this in.
#3
Re: How can i code a dns server?
Posted 30 November 2012 - 11:01 AM
With something large like this I find that it generally helps to start by reading the spec. That way you can start thinking about the problem before you just try to dive into it. That way you have knowledge of everything you will have to do before you design yourself into a hole.
#4
Re: How can i code a dns server?
Posted 30 November 2012 - 11:13 AM
Summit, on 30 November 2012 - 11:27 AM, said:
I downloaded some source codes of dns servers but they are really complex. i need a simple dns server.
I wish I would have taken more time to provide a better response.
A misconception is that anything can be 'simplified' to make it easier to understand. This in practice, I believe, is oposite. For anyone to make something complex "simple", they must first have an understanding of every aspect in order to know how to minify the service to it's simplest roots.
An amateur can not simplify a service what they don't already understand. Beginners often ask for "simple". Things just are not simple. They have to be understood. Only then can they be simplified.
Which then brings up the question, how do you know you need to create a service from scratch? Perhaps you just need to find a better piece of software? It is, again in my opinion, MAJOR cart before the horse syndrom.
Page 1 of 1