Is is it possible to have Minix 3 as a dns-server and if one would dare to code the service self how would that code look like (roughly)?
A:
That's kind of a big question for little, ol' StackOverflow. I'd suggest looking around for some code that you could use or port.
tvanfosson
2009-11-05 12:24:43
+1
A:
Minix actually has a nameserver in it already. Since Minix is open source, you can use it as a starting point. The program is called "nonamed". The man page says it isn't a name daemon, but actually it is.
It's just that it's very simple, which is probably what you want. Either you can use it as it is, just put all hostnames you want to resolve in /etc/hosts, and "nonamed" will export those... or use nonamed as something to extend upon. At least the protocol is there already.
Man page for nonamed(8) and source code.
Amigable Clark Kant
2009-11-05 13:25:14