MINIX 3 as a dns server?

Is it possible to use Minix 3 as a dns server, and if you dared to encode the service itself, what would this code look like (approximately)?

+3
source share
2 answers

Minix actually has a name server in it. Since Minix is ​​open source, you can use it as a starting point. The program is called "nonamed". The manual page says that it is not a demon of a name, but actually it is.

It's just that it is very simple, which is probably what you want. Either you can use it as it is, just put all the hostnames you want to resolve in / etc / hosts, and "nonamed" will export these ... or use nonamed as something that can be expanded. At least the protocol already exists.

Nonamed (8) user page and source code .

+2
source

Such a big question for the little one, ol 'Stackoverflow. I suggest getting around some code that you could use or port.

0
source

Source: https://habr.com/ru/post/1721978/


All Articles