dns-bootp - generate bootp tables from DNS tables
dns-bootp [ option... ][ infile [ outfile ]]
dns-bootp -Help
dns-bootp -VERSion
The dns-bootp program is used to generate the /etc/bootptab file
from the forward DNS tables. This is supplemented with an additional ``bootp''
class.
The output format is described in the bootpd (8) manual
entry.
The ``bootp'' class has the following defined types:
- bf
- The absolute path of the bootfile.
- bs
- Bootfile size in 512-octet blocks. It is best to leave this unset.
- cs
- A list of one or more cookie servers. These will be translated into IP
addresses on output.
- ds
- A list of one or more DNS servers. These will be translated into IP
addresses on output.
- gw
- A list of one or more gateways (routers). These will be translated into IP
addresses on output.
- ha
- The name of a host with a defined ``ether a'' record. This will be
translated into an Ethernet address on output. This should not be
set, as it is automatically generated from the ``ether a'' record.
- hd
- The absolute path of the bootfile home directory.
- hn
- Set the value to "yes" is the hostname should be sent to RFC1048
clients.
- ht
- This field encodes the hardware type. The most useful value is
``ethernet'', see bootpd(8) for more information.
- im
- A list of one or more impress server. These will be translated into IP
addresses on output.
- ip
- The name of a host with a defined ``in a'' record. This will be translated
into an IP address on output. This should not be set, as it is
automatically generated from the ``in a'' record.
- lg
- A list of one or more log servers. These will be translated into IP
addresses on output.
- lp
- A list of one or more LPR servers. These will be translated into IP
addresses on output.
- ns
- A list of one or more IEN-116 servers. These will be translated into IP
addresses on output.
- rl
- A list of one or more resource location servers. These will be translated
into IP addresses on output.
- sm
- Host subnet mask
- sr
- The name of the server to boot from. This will be translated into an IP
address on output.
- tc
- Table continuation, points to similar "template" host entry,
usually in a file prepended to the output. Many host entries share common
values for certain tags (such as name servers, etc.). Rather than
repeatedly specifying these tags, a full specification can be listed for
one host entry and shared by others via the tc (table continuation)
mechanism. The generated output will always place the ``tc'' entry first.
Information explicitly specified for a host always overrides information
implied by a ``tc'' reference.
- to
- Time offset in seconds from UTC, the time zone. If set to ``auto'' it will
use the time server's timezone.
- ts
- A list of one or more time servers. These will be translated into IP
addresses on output.
- vm
- The vendor magic cookie selector. The most useful value is ``auto'' or
don't set it. See bootpd(8) for additional mystification.
- T*
- There is also a generic tag, Tn, where n is an RFC1048
vendor field tag number. See bootpd(8) for more addition
mystification.
The special host name ``*'' may be used to specify defaults. These may be
over-riden by specific entries. The most recently see default of each type
name is remembered. This may be exploited, for example, to set different
servers and gateways for different networks.
The following options are understood:
- -Help
-
Provide some help with using the dns-bootp program.
- -VERSion
-
Print the version of the dns-bootp program being executed.
All other options will produce a diagnostic error.
See the file man1/arglex.so.
See the file man1/exit.so.
See the file man1/copyright.so.
See the file man1/author.so.