dns-ethers-import

Langue: en

Version: 110979 (mandriva - 01/05/08)

Section: 1 (Commandes utilisateur)

NAME

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

SYNOPSIS

dns-ethers-import [ option... ] filename...
dns-ethers-import -Help
dns-ethers-import -VERSion

DESCRIPTION

The dns-ethers-import program is used to read your /etc/ethers file and produce a DNS-formatted database. This is used to maintain a database with the IP address and the MAC address in the same file. This helps find omissions and inconsistencies.

OPTIONS

The following options are understood:
-Domain name
This option may be used to set the domain name in the generated file. Defaults to you system domain name, if set, otherwise ``example.com''.
-Help

Provide some help with using the dns-ethers-import program.
-VERSion

Print the version of the dns-ethers-import program being executed.

All other options will produce a diagnostic error. Options may be abbreviated, the minimum abbreviation is shown in upper-case. Options are case insensitive. Options and file names may be mixed arbitrarily on the command line.

EXIT STATUS

The dns-ethers-import command will exit with a status of 1 on any error. The dns-ethers-import command will only exit with a status of 0 if there are no errors.

EXAMPLE

If you have an /etc/ethers file which looks like this:
 2:7:1:f:b7:fb   mercury
 2:60:8c:2d:20:c4        venus
 8:0:20:79:1f:d  earth
 aa:0:4:0:86:53  mars
 8:0:2b:99:49:ad jupiter
 0:40:10:56:43:57        saturn
 0:aa:0:69:7c:5b neptune
 0:0:e8:a4:0:25  uranus
 8:0:9:d:2a:87   pluto
 
By using the following command
 % dns-ethers-import /etc/ethers ethers-tmp
 %
 
You will see an output file of the form
 
 $origin example.com.
 @               in      soa     example.com. hostmaster.example.com. (
                                 3       ; serial
                                 10800   ; refresh: 3 hours
                                 1800    ; retry: 30 minutes
                                 604800  ; expire: 1 week
                                 86400 ) ; minimum: 1 day
 mercury         ether   a       2:7:1:f:b7:fb
 venus           ether   a       2:60:8c:2d:20:c4
 earth           ether   a       8:0:20:79:1f:d
 mars            ether   a       aa:0:4:0:86:53
 jupiter         ether   a       8:0:2b:99:49:ad
 saturn          ether   a       0:40:10:56:43:57
 neptune         ether   a       0:aa:0:69:7c:5b
 uranus          ether   a       0:0:e8:a4:0:25
 pluto           ether   a       8:0:9:d:2a:87
 
You are expected to manually edit this into the rest of the database. You especially need to put sensable values into the SOA record.

See dns-ethers(1) for how to retrieve your /etc/ethers file once you have imported it.

dns-ethers-import version 1.8,
Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1999, 2000, 2001, 2003, 2004, 2005, 2006 Peter Miller; All rights reserved.

The dns-ethers-import program comes with ABSOLUTELY NO WARRANTY; for details use the 'dns-ethers-import -VERSion Warranty' command. The dns-ethers-import program is free software, and you are welcome to redistribute it under certain conditions; for details use the 'dns-ethers-import -VERSion Redistribution' command.

AUTHOR

Peter Miller E-Mail: millerp@canb.auug.org.au
/\/\* Web: http://www.canb.auug.org.au/~millerp/