Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Contact Us
Online Help
Domain Status
Man Pages

Virtual Servers

Topology Map

Server Agreement
Year 2038

USA Flag



Man Pages
dns-ethers(1) FreeBSD General Commands Manual dns-ethers(1)

dns-ethers - generate /etc/ethers entries from DNS tables

dns-ethers [ option... ][ infile [ outfile ]]
dns-ethers -Help
dns-ethers -VERSion

The 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.

The following options are understood:

This option may be used to see what dns-ethers deciphers each resource record as.

This option may be used to get more information about how to used th dns-ethers program.

This option may be used to see what version of the dns-ethers program is running.

This option may be used to set the search path for include files.

See the file man1/

See the file man1/

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 ``'' and which contains the following text

See the file man1/

You can generate the /etc/ethers file using the following command
% dns-ethers /etc/ethers
Here is what you would see as the output

See the file man1/

Note that the output uses relative names.

All of this can be automated using the following makefile fragment:
        dns-ethers $@
By doing this, all you need to do is edit the file, and the use the make(1) command to bring everything up-to-date.

If you were using NIS, NIS+ or LDAP you would update them, rather than the static file.

See the file man1/

See the file man1/

dnsutl Reference Manual

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.