|
NAMEdns-ethers - generate /etc/ethers entries from DNS tablesSYNOPSISdns-ethers [ option... ][ infile [ outfile ]]dns-ethers -Help dns-ethers -VERSion DESCRIPTIONThe dns-ethers program is used to generate the /etc/ethers entries from DNS tables.If the input file is not named, or the name '-' is used, the standard input is read. If the output file is not named, or the name '-' is used, the startdard output is written. A fake DNS type of ``ether'' is used, instead of the usual ``in'' type, to enable the use of the ``a'' to store the addresses. OPTIONSThe following options are understood:
EXAMPLEThe 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 text See the file man1/example.so. % dns-ethers example.com /etc/ethers % See the file man1/example.ethers.so. MakefileAll of this can be automated using the following makefile fragment:/etc/ethers: example.com dns-ethers example.com $@ If you were using NIS, NIS+ or LDAP you would update them, rather than the static file. See the file man1/copyright.so. See the file man1/author.so.
Visit the GSP FreeBSD Man Page Interface. |