Merit Network
Can't find what you're looking for? Search the Mail Archives.
  About Merit   Services   Network   Resources & Support   Network Research   News   Events   Home

Discussion Communities: Merit Network Email List Archives

North American Network Operators Group

Date Prev | Date Next | Date Index | Thread Index | Author Index | Historical

RIPE automatic inaddr-arpa checking tool available

  • From: RIPE NCC IN-ADDR. ARPA Role Account
  • Date: Fri Jul 21 10:40:39 1995

Dear all,

After many requests I have published the inaddr-arpa checking tool I
developed at the RIPE NCC. We use it now at RIPE NCC quite for some time
and it really saves us a lot of time, although the program is not perfect
and still needs some polishing. Beware of changing/adapting the tool too
much since I expect to make some big changes in the output format to
facilitate further automatic processing. Furthermore, I want to split it
in some smaller files and a config file for better maintainability. Of
course comments and bug reports are welcome.

Please read the included README file for more details.

Kind regards,

David Kessens
RIPE NCC

PS I am on vacation during the next two weeks, but I will certainly deal
   with any comments/bug reports when I return!

--------

README for the inaddrtool v0.1

Date: 950719

Author: David Kessens, RIPE NCC 



NOTE:

THE TOOL HAS BEEN MADE PUBLICLY AVAILABLE BECAUSE OF THE LARGE NUMBER OF
REQUESTS OF OUR CUSTOMERS TO DO SO. THE TOOL ITSELF HAS PROVEN IT'S
USEFULNESS, BUT NOTE THE FACT THAT I EXPECT TO MAKE SOME BIG CHANGES
BEFORE RELEASING A FINAL VERSION. ALSO SOME ADD-ON PROGRAMS THAT WILL
MAKE IT POSSIBLE TO ADD THE REVERSE DELEGATION CHANGES/REQUESTS
AUTOMATICALLY TO (Y)OUR ZONEFILES ARE STILL MISSING. THE PROGRAM IS
DESIGNED AS SITE INDEPENT AS POSSIBLE.

PLEASE USE THE NORMAL PROCEDURE AS DESCRIBED IN RIPE-105 IF YOU WANT TO
DO A REVERSE DELEGATION REQUEST FOR A REVERSE DOMAIN MANAGED BY THE RIPE
NCC, BUT SEND YOUR REQUEST TO <AUTO-INADDR@RIPE.NET> INSTEAD OF
<HOSTMASTER@RIPE.NET>



Reverse delegation tool (Alpha version!)
----------------------------------------


As of today the RIPE NCC offers an automated method for the submission of
reverse zone delegations in 193.in-addr.arpa and 194.in-addr.arpa. The
reverse delegation requests and the zone files on all nameservers will be
checked automatically. The diagnostics generated by these checks will be
returned to you automatically too. This will make you aware of any
problems very quickly, so that you can correct them and re-submit your
request. The most recent version of the tool is now publicly available at:

ftp://ftp.ripe.net/tools/inaddrtool0.1.tar.gz

The tool uses some other external programs for gathering the information
it needs for checking your zone files:

ftp://ftp.ripe.net/tools/ping.tar.Z 
ftp://ftp.ripe.net/tools/dns/host.tar.Z
ftp://ftp.ripe.net/pride/tools/prtraceroute-2.0beta3.shar.gz


Installing the software:

- uncompress/unzip and untar the tool and the external programs

- edit the variables in the source code (if needed):

  $TESTMODE=1 for testing, 0 for normal use
  
  $UPDLOGDIR="Directory for logging the incoming requests";
  $ACKLOGDIR="Directory for logging the outgoing acknowledgements";
  $FWLOGDIR="Directory for logging the outgoing approved requests";
  $MSGQUEUEDIR="Directory for temporarily storing the requests"; 

  $NSNAME="The name of your nameserver";

  $NAMESERVERCHECK=;  see for details the source code
  $MAILCMD=;          see for details the source code
  $NICECMD="Your nice program if you want" else use ""; 
    
  $HUMANMAIL="The E-mail address of the human processing the approved requests
              and answering questions. When $TESTMODE=1, all mail will be
              send to this address";
  
  $AUTOMAIL="The E-mail address of the mail box that will auto process
             incoming requests";            

- Put something like:

  "|/home/user/bin/inaddrtool 2>/dev/null"
  
  in the .forward file of user $AUTOMAIL
  
  Note: there is *NO* queuing mechanism yet, so beware of overloading
  your machine with a large number of requests. 


The input:

The tool expects to read an E-mail message from standard input although
there is no problem when using it stand-alone. The E-mail message should
contain a valid RIPE database object as described in the ripe-105
(ftp://ftp.ripe.net/ripe/docs/ripe-105) procedure.

When the automated procedure does not detect any errors, the request is
forwarded to the $HUMANMAIL role account person for some additional manual
checks and the processing of the delegation itself. An acknowledgement of
this fact is also sent to the people mentioned in the From:/Reply-To: and
Cc: field in the E-mail message. The tool will return an error report if
errors are found. If $TESTMODE=1 all mail will be send to $HUMANMAIL.

You can use some keywords in the 'Subject:' line of your E-mail to
control the checking process. The use of the LONGACK keyword is very
recommended.

HELP    - will send you a (patched) ripe-105 document
CHANGE  - is needed if you want to change an existing reverse delegation 
LONGACK - will give you the most verbose output as possible
TEST    - do the checks, but sent only a report back to the user even if
          no errors are found

You also might want to use the special variable NSNAME that's documented
in the source code itself (for experts only). 

RIPE document ripe-105 requires you to send in a RIPE database 'inetnum'
object with a 'rev-srv' attribute for each nameserver for single/multiple
C's reverse delegation requests and for whole blocks 'domain' objects
with 'nserver' attributes for each nameserver.

I am neither a DNS expert or native English writer ;-) so all your
comments are welcome! Please send them together with complaints, bug
reports or special requests to <inaddr@ripe.net>.











Discussion Communities


About Merit | Services | Network | Resources & Support | Network Research
News | Events | Contact | Site Map | Merit Network Home


Merit Network, Inc.