B
B
bro-dev2019-02-28 02:58:18
Domain Name System
bro-dev, 2019-02-28 02:58:18

Is there any description of how dns works, but is it better to implement it on any jap?

Is there any description of how dns works, but is it better to implement it on any jap?
I want to figure out how exactly it works, and so we know that it goes through udp, for example, on a node I send something to port 53 via udp, firstly, what exactly is there to send somewhere? on a wiki, for example, with http, everything is simple and detailed and easy to implement.
Then what to do next? well, logically, you need to listen in advance to the same port, wait for a response, but the OS will not allow you to do this without root rights, it seems like it’s forbidden up to port 1024, and then how other applications will work if I’ve already taken the port, it’s just that the browser doesn’t need it Ruth.
I know that the node has a separate tool for working with dns, and in general, usually the address resolves itself somehow, but I want to figure it out manually.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Y
yayashitoya, 2019-02-28
@yayashitoya

and implementation on any jap is better?

Both DNS servers and client libraries are available in source code.

C
CityCat4, 2019-02-28
@CityCat4

Of course have.
Here

V
ValdikSS, 2019-03-30
@ValdikSS

Here is all the DNS documentation: https://www.isc.org/community/rfcs/dns/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question