Name server of this version has capability to manage its oun authority according to its work. `newbie' now has switch user and group id forth and back between root/wheel account and newbie account. If you don't define newbie account, newbie still use root/wheel account for all the time, but this makes larger problem of security. If newbie itself has security hole, it may allow cracker to use newbie's priviledge.
To use newbie account, define account name of newbie in config.h after configuration script, and prepare newbie acount itself, like this in /etc/passwd.
newbie:*:1000:1000:newbie:/etc/newbiedb:/nonexistent
and this in /etc/group
newbie:*:1000:root,doi
I don't think you don't know what each column mean. If you're not sure what those number and colon and characters are, please refer your handy UNIX adiministrator's handbook. Of course, those numbers are example and you may need to change them.
You'll need DB 1.85 or DB 1.86 and GNU readline package. Also you'll need bison and flex. Please install them before you install newbie.
To get DB: Sleepycat Software
[back to TOC]chdir to src/ directory and type ./configure
but there's few parameters configured well... if you've got problem, please report it to the author.
To configure newbie manually, you can edit Makefile and config.h, produced by configure command.
In Makefile, you can set compile flags to make it optimize or debugging. In config.h, you can set path to some configuration file. For example,
There may be options other than them. The clever way is to keep them as is. Please modify only if you're aware what you're doing.
[back to TOC]just type ``make'' in src/ directory. Things will appear in a minute.
[back to TOC]Please type ``make install'' in src/ directory.
[back to TOC]You'll need server configuration file and resolver configuration file. By default, server configuration file is ``/etc/newbie.boot'' and resolver configuration file is ``/etc/res_core.conf'' Its names are subject to be renamed in future release, and your modification of config.h.
Sample of configuration files are in sample/ directory. For detailed instruction of configuration file, please follow these links.
You will want to make newbie serve some primary zone. In newbie nameserver, the name database is slightly different from standards.
Anyway, you must prepare hint zone for root servers at least. To create name database, please follow these links.
You may want to prepare shared key pair between server and updater. To make shared key file, please follow these links.
[back to TOC]