|The absolute path of the bootfile.|
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:
All other options will produce a diagnostic error.
-Help Provide some help with using the dns-dhcp program. -VERSion Print the version of the dns-dhcp program being executed.
The idea is that you have all of the information concerning each computer in the one file. This makes it less likely that something will be omitted, and simpler to change if the name or IP address changes.
Given a database file called example.com and which contains the following textYou can generate the /etc/dhcp.conf file using the following command
Here is what you would see as the output% dns-dhcp example.com /etc/dhcp.conf %Note that the output uses relative names.
All of this can be automated using the following makefile fragment:By doing this, all you need to do is edit the example.com file, and the use the make(1) command to bring everything up-to-date./etc/dhcp.conf: example.com dns-dhcp example.com $@
If you were using NIS, NIS+ or LDAP you would update them, rather than the static file.
|Reference Manual||DNS-DHCP (1)||dnsutl|