Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ nsmake(8) — NEWS-os 4.1C

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

named(8)

resolver(5)

NSMAKE(8)  —  NEWS-OS Programmer’s Manual

NAME

nsmake − name server database creation tool

SYNOPSIS

cd /etc/ns; ./nsmake default_domain hosts_file [ file...]

DESCRIPTION

nsmake is a tool for building database files for named(8) from file in the hosts(5) format.. Names in the hosts file which do not contain a period (‘.’) are interpreted as being appended to default_domain. 

nsmake creates the following four types of files for all domains in the hosts file. 

domain.template
Becomes the template for the various domains. To make changes such as adding NS records, this file should be edited directly.

data/domain.serial
The serial number contained in the SOA for the various domains. Its value is incremented each time nsmake is executed. This file should not be deleted. 

data/domain.hosts
Data on the various hosts. Only A and PTR records are indicated.

data/domain.zone
Zone file for the various domains. In fact, only the domain used by the name server is recorded in /etc/ns/named.boot.

An indicator pointing to nsmake can be included in the .I hosts file. It should be indicated on the line which begins #ns. 

#ns domain=newdomain
Changes the default_domain.  This change is valid only for the hosts files. 

#ns stop/#ns cont
Causes the lines from #ns stop to #ns cont to be ignored. It is used when data is included which should not be used by the name server. 

FILES

/etc/named.boot, /etc/ns

SEE ALSO

named(8), resolver(5)

BUGS

This tool creates a lot of unnecessary data. It is necessary to select only which is required and record it in the /etc/named.boot file. 

Only A and PTR records are output for each host. It is necessary to change nsmake itself in order to output MX records, etc. 

named is not re-executed automatically. Use /etc/named.reload. 

The hosts file does not really contain enough information to create the named data. 

NEWS-OSRelease 4.1C

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026