About RIPE | Contact  | Search | Sitemap    
Homepage RIPE  
RIPE Community Mail Archives
search  
     
RIPE Navigation Ends
About RIPE Maillists
Maillists Archive
Global Lists
Non Active Lists
RIPE NCC Navigation Ends
Next Section

inetnum object addition - error, db-help@ripe.net, db-wg@ripe.net

  • To: "RIPE Database Manager" <
    >
  • From: "linux baby" <
    >
  • Date: Tue, 9 Jan 2007 20:07:44 +0530
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:mime-version:content-type; b=j2SyfgdK1gd6v98+ncRYidFfMCHZeJ/2sEFn2AEY+I1gHqjuL1OLsbAe1JedSD1yHL3RE+8aHFqc5Ai38gV4iHCkkuvFceaNULn0XXeAdx2x/mvUoxgkmTcKTLZZtr/LqSbZff49yroSXW3t5iB5PjlAC4iO5cP3TQ5xXQfWNu8=

Thanks for your help. Please help me to add the inetnum object.

i have created the following

RR1-SAMPLE, RR2-SAMPLE - person objects created
SAMPLE-MNT - mntner object created

I have the inetnum object input file like below
---------------
cat /usr/local/src/nic/ipcheck.input
inetnum:        10.11.12.0 - 10.11.12.255
netname:        NIC-NETWORK
descr:          THIS IS TESTING RANGE
country:        IN
admin-c:        RR1-SAMPLE
tech-c:         RR2-SAMPLE
status:         ASSIGNED PA
remarks:        This network should never be routed outside an enterprise
notify:         raja@localhost
mnt-by:         SAMPLE-MNT
mnt-lower:         SAMPLE-MNT
mnt-routes:         SAMPLE-MNT
password:       redhat123
source:         SAMPLE
changed:        raja@localhost     20070109
------------

i checked the range available by

whois -p 43001 -h knagalin.linux2all.net 10.11.12.0 - 10.11.12.255
[Querying knagalin.linux2all.net]
[knagalin.linux2all.net]
% This is the NIC Whois server.

% Note: this output has been filtered.

% Information related to '0.0.0.0 - 255.255.255.255'

inetnum:        0.0.0.0
+  -
+
  255.255.255.255
netname:
+
 WHOLE-IPV4
+
descr:          The Whole IPv4
country:        NL
remarks:        Country is really worldwide
+
admin-c:        RDBM-SAMPLE # admin contact
tech-c:         RDBM-SAMPLE # tech contact
status:         ALLOCATED PI
mnt-by:         TEST-DBM-MNT
source:         SAMPLE # Filtered

I try to add in my whois server database

[root@localhost whoisd]# ./bin/dbupdate -c ./conf/rip.config.sample -f /usr/local/src/nic/ipcheck.input

SUMMARY OF UPDATE:
Number of objects found:                   1
Number of objects processed successfully:  0
  Create:         0
  Modify:         0
  Delete:         0
  No Operation:   0
Number of objects processed with errors:   1
  Create:         1
  Modify:         0
  Delete:         0
  Syntax Errors:  0


DETAILED EXPLANATION:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The following object(s) were found to have ERRORS:
---
Create FAILED: [inetnum] 10.11.12.0 - 10.11.12.255
***Info: Syntax check passed

inetnum:         10.11.12.0 - 10.11.12.255
netname:         NIC-NETWORK
descr:           THIS IS TESTING RANGE
country:         IN
admin-c:         RR1-SAMPLE
tech-c:          RR2-SAMPLE
status:          ASSIGNED PA
remarks:         This network should never be routed outside an enterprise
notify:                 raja@localhost
mnt-by:          SAMPLE-MNT
mnt-lower:          SAMPLE-MNT
mnt-routes:          SAMPLE-MNT
source:          SAMPLE
changed:        raja@localhost     20070109

Please tell me where i am making mistake, Please help me to add the inetnum object in my whoisd server database.

Waiting for your reply.

regards
Karthikeyan.N




On 1/9/07, RIPE Database Manager <ripe-dbm@localhost > wrote:
Dear Karthikeyan.N

As I pointed out to you yesterday it will be a good idea to read the

RIPE Database User Manual: Getting Started
http://www.ripe.net/ripe/docs/db-start.html

This clearly explains how to create objects in the RIPE Database and how to
query for them. It was written to help new users to get started.

The answer to your specific problem below is the '# Filtered' comment on
the "source:" line. The update program will not accept updates with filtered
query output.

You may also want to check your database naming as you have used nic-hdls
like AA1-TEST with a source of SAMPLE. Maybe these should both be either
TEST or SAMPLE.

--
Regards,
Denis Walker

RIPE Database Administration


On Tue, 9 Jan 2007 10:44:19 +0530, Linux Baby wrote:
* hi,
*      Can you give me one example for dbupdate command to
* create/delete/update
* objects using commandline/webinterface.
*
* regards
* Karthikeyan.N


 

Next Section
     About RIPE | Site Map | LIR Portal | About the RIPE NCC | Contact | © RIPE Community. All rights reserved.
RIPE.NET Homepage LIR Portal RIPE Community