Info! Please note that this translation has been provided at best effort, for your convenience. The English page remains the official version.

AFRINIC Database Reference Manual: Getting Started

المُقدّمة

This document is intended for users who have no previous experiencewith the AFRINIC Database. It is a hands-on tutorial that walks the reader through the basic concepts and techniques that are needed to use the AFRINIC Database using examples and exercises.

This document is not intended to be a complete reference. Full information on the AFRINIC Database may be found in the AFRINIC Database.

اهدافنا

This document should give the reader a basic understanding of the following concepts:

  • ما هي قاعدة بيانات AFRINIC
  • كيفية الحصول على المعلومات من قاعدة بيانات AFRINIC
  • كيفية الحفاظ على المعلومات في قاعدة بيانات AFRINIC


2.1 قاعدة بيانات AFRINIC

قاعدة بيانات AFRINIC هي قاعدة بيانات عامة تحتوي على معلومات حول مساحة عناوين IP المسجلة وأرقام AS ، وسياسات التوجيه ، وتفويضات DNS العكسية في منطقة AFRINIC. يتم استخدامه لإدارة شبكة الإنترنت.

2.1.1 كائنات قاعدة البيانات

Records in the AFRINIC Database are called "objects". Each object is a list of "attribute-value" pairs displayed in plain text. An مثال:

  • شخص: Zola Abalo
  • العنوان: Example LTD 12, Akuna Matata Street Flic-en-Flac, MU
  • للهواتف: + 230 123 2323
  • بريد الإلكتروني: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته
  • نيك-HDL: ZA4-AFRINIC
  • كزاز الرضع من قبل: AFRINIC-MNT
  • تصريحات: ************************
  • ملاحظات: هذا الكائن مجرد مثال!
  • ملاحظات: *************************
  • تغير: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته 20050127
  • تغير: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته 20050128
  • المصدر: AFINIC

This is a person object for Zola Abalo. The attributes are "person:", "address:", "phone:", and so on. An attribute name always starts on the first column, and ends with a colon. Everything after the colon is the value.  Objects can store information about different resources. For example:

إدارة الشبكة أنواع كائنات الموارد
نطاقات عناوين IP inetnum ، inet6num
رقم نظام الحكم الذاتي رقم تلقائي ، مسار ، إلخ.
تفويضات DNS العكسية نطاق
معلومات التواصل شخص ، دور
معلومات المصادقة منتر

2.1.2 TEST Database [لم تتوفر بعد]

The AFRINIC will provide a test database where users may learn how to use the database software. The TEST Database uses the same software as the AFRINIC Database but changes in the TEST Database do not affect the AFRINIC Database. The data in the TEST database is not a copy of the data in the AFRINIC Database and is provided purely for learning الأغراض.

All examples below use the TEST Database. However all procedures described are the same for the AFRINIC Database. In the last section, we will explain what the differences are when using the AFRINIC Database. Please do not use the AFRINIC Database for testingpurposes. We would also appreciate if you delete all objects you have created in the TEST Database when you have finished performing the exercises described below.

2.2 كيفية الحصول على المعلومات من قاعدة بيانات AFRINIC

2.2.1 استعلامات الويب

The simplest way to get information from the TEST Database is to use a web interface available at: http://www.afrinic.net/services/whois-query

 2.2.2 إجراء استفسارات بسيطة

To query for a particular object the user specifies its "primary key". A primary key is an attribute that uniquely identifies this type of the object.

نوع الكائن السمة الأساسية مثال
inetnum inetnum 196.0.0.0-196.0.0.255
inet6num inet6num 2001: 0610: 0240 :: / 42
شخص شركة الاستثمارات الوطنية-الحميد: اختبار ZA4

سوف تحصل على رد يتضمن الكائن في القسم 2.1.1.

2.3 كيفية الحفاظ على المعلومات في قاعدة بيانات AFRINIC

The AFRINIC Database is used for storing information about Internet resources. You will need to create objects in the database to document your usage of these resources.

Objects in the AFRINIC Database must reflect the current state of the resources they describe. Therefore, it is also important to update objects as the details of resources change, or delete objects if resources are no longer used. If IP addresses are assigned to customers, or new staff members are appointed as contacts, it is important to create new objects to reflect this in the database.

Updates to the database are submitted via e-mail. Objects to be created, modified, or deleted are sent to a special address where they get processed automatically. A reply is e-mailed back to the sender with the results of the operation. If there are any errors when processing the e-mail submission, the e-mail message mailed back to the sender will include an error report. If the report does not help locate the problem, the sender should forward a copy of the original e-mail and the error report ل هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته >. An AFRINIC staff member can then help to locate the problem.

The following sections describe the process of creating and maintaining objects in the AFRINIC Database. By the end of the document, you will have learned how to create and protect an object representing a network assignment.

2.3.1 إنشاء الكائنات

The inetnum object contains information about registered IP address space: the range of numbers, status, and responsible contacts. Before this object can be created in the database, information that is referenced by this object must be created in the database first. This requires the creation of the following objects: 1. A person object representing a responsible administrative and technical contact for this network, referenced from the "admin-c:" and "tech-c:" attributes of the inetnum object. 2. A mntner object containing authentication information about who can modify contents of this object, referenced from the "mnt-by:", "mnt-lower:", and "mnt-routes:" attributes of the inetnum object. The mntner object protects the inetnum object. 3. After that we can create the inetnum object.

2.3.2 تسجيل معلومات الاتصال

Contact information, such as a phone number and e-mail address, is stored in the person object. To create a new person object in the قاعدة البيانات:

1. Copy the person object template. The template lists the possible attributes in an object and some information about each attribute. To get the template, please use the link below

 سوف تحصل على رد يبدو كالتالي:

  • الشخص: [إلزامي] [فردي] [مفتاح البحث]
  • العنوان: [إلزامي] [متعدد] []
  • الهاتف: [إلزامي] [متعدد] []
  • رقم الفاكس: [اختياري] [متعدد] []
  • البريد الإلكتروني: [اختياري] [متعدد] [مفتاح البحث]
  • nic-hdl: [إلزامي] [فردي] [مفتاح أساسي / بحث]
  • remarks: [optional] [multiple] [ ]
  • notify: [optional] [multiple] [inverse key]
  • mnt-by: [optional] [multiple] [inverse key]
  • changed: [mandatory] [multiple] [ ]
  • source: [mandatory] [single] [ ]

2. Copy the text into a text editor (e.g. notepad or vi). Delete everything to the right of the colon and fill in attribute values. You must complete the attributes listed as "mandatory." An attribute that is "multiple" can be used more than once in an object. You may choose not to complete the optional attributes. However, if you choose not to include optional attributes, you must delete the optional attribute entirely, rather than leaving the value empty. Use "AUTO-1" for the "nic-hdl:" attribute, your e-mail address for the "changed:" attribute, and "TEST" for the "source:" attribute.

  • الشخص: زولا أبالو
  • address: Example LTD 12, Akuna Matata Street Flic-en-Flac, MU
  • هاتف: + 230 123 2323
  • البريد الإلكتروني: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته
  • nic-hdl: تلقائي -1
  • mnt-by: مثال - MNT
  • ملاحظات: *******************************
  • ملاحظات: هذا الكائن مجرد مثال!
  • ملاحظات: *******************************
  • تغير: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته 20050127
  • تغير: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته 20050128
  • المصدر: TEST

3. أرسل قالب الكائن المكتمل بنص عادي إلى هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته . لكائن حقيقي أرسل القالب إلى هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته

4. Wait for the acknowledgement to come back from the Database. This may take several minutes. If your update was successful you will get a reply containing something like the following:

  • كان التحديث الخاص بك ناجحًا.
  • الكائنات التالية تمت معالجتها.
  • موافق جديد: [شخص] ZA4-TEST

Note the text after the [person] tag. This is the NIC handle of the person, and the "AUTO-1" text is changed to this value. It is guaranteed to be unique and is the primary key of this person object. Any references to this person object will use this NIC مقبض.

You can use the new "nic-hdl:" attribute to query for this object. If you do this, you can also see that the "changed:" attribute has had the date of the creation added.  If there was an error, the acknowledgement will indicate failure of the object creation along with the errors encountered. For example, it may contain the following:

  • جزء من التحديث فشل.
  • كائنات بدون أخطاء تمت معالجتها.
  • فشل التحديث: خطأ في بناء الجملة في الكائن

2.3.3 تسجيل معلومات المصادقة

"Authentication" is when you prove that you are who you claim to be. This information is needed to prevent other users from modifying your data. In the database, the information needed for verifying authentication is stored in the mntner object (also called the maintainer object). To create a new mntner object in the database, do the following:

1. Copy the mntner object template. سوف تحصل على رد يشبه ما يلي:

  • mntner: [إلزامي] [فردي] [مفتاح أساسي / بحث]
  • descr: [mandatory] [multiple] [ ]
  • admin-c: [mandatory] [multiple] [inverse key]
  • tech-c: [اختياري] [متعدد] [مفتاح معكوس]
  • التحديث إلى: [إلزامي] [متعدد] [مفتاح معكوس]
  • mnt-nfy: [اختياري] [متعدد] [مفتاح معكوس]
  • المصادقة: [إلزامي] [متعدد] []
  • remarks: [optional] [multiple] [ ]
  • notify: [optional] [multiple] [inverse key]
  • mnt-by: [إلزامي] [متعددة] [مفتاح معكوس]
  • changed: [mandatory] [multiple] [ ]
  • source: [mandatory] [single] [ ]

يتم تعريف محتوى سمات فئة mntner أدناه:

منتر

A unique identifier of the mntner object.Made up of letters, digits, the character underscore "_", and the character hyphen "-"; the first character of a name must be a letter, and the last character of a name must be a letter or a digit.

2. As with the person object, delete everything to the right of the colon and fill in attribute values. You must complete the attributes listed as mandatory and should delete optional attributes that you do not use. Use "TEST-MNT" for the "referral-by:" attribute for test environnment.

  •  mntner: مثال- MNT
  • descr: عينة مشرف على سبيل المثال
  • المشرف ج: اختبار ZA4
  • التكنولوجيا ج: ZA4- اختبار
  • محدث-إلى: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته
  • MNT-nfy: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته
  • auth: MD5-PW $1$WKwrFYYt$.oop28gKMiamE52SVHjyn0
  • mnt-by: مثال - MNT
  • الإحالة عن طريق: TEST-MNT
  • تغير: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته
  • المصدر: TEST

3. You must choose your own mntner value, which is EXAMPLE-MNT in the example. This is the rule to follow when choosing mtner القيمة:

  • mntner is a unique identifier of the mntner object. Made up of letters, digits, the character underscore "_", and the character hyphen "-"; the first character of a name must be a letter, and the last character of a name must be a letter or a digit. The following words are reserved by RPSL, and they can not be used as names: any as-any rs-any peeras and or not atomic from to at action accept announce except refine networks into inbound الصادرة Names starting with certain prefixes are reserved for certain object types. Names starting with "as-" are reserved for as set names. Names starting with "rs-" are reserved for route set names. Names starting with "rtrs-" are reserved for router set names. Names starting with "fltr-" are reserved for filter set names. Names starting with "prng-" are reserved for peering set names. Names starting with "irt-" are reserved for irt names.
  • استخدم الخيار -v لـ mntner للحصول على مزيد من التفاصيل

4. For the "admin-c:" and "tech-c:" you should use the value of the "nic-hdl:" in the person object created beforehand. The database will not allow you to create a mntner object unless this person object already exists.

5. The "auth:" attribute begins with a keyword identifying the authentication method and is followed by the authentication information needed to enforce that method. In the example given, the MD5-PW method is used. For both the MD5-PW and CRYPT-PW methods, a password is used to authenticate database operations. To encrypt your password to MD5-PW, you can use the web tools here: http://www.afrinic.net/services/ip-tools/whoiscrypt

6. أرسل قالب الكائن المكتمل بنص عادي إلى هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته لبيئة الاختبار و هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته لبيئة حقيقية.

7. Wait for the acknowledgement to come back from the database. If your update was successful you will get a reply containing شيء من هذا القبيل: 

  • كان التحديث الخاص بك ناجحًا.
  • الكائنات التالية تمت معالجتها.
  • موافق جديد: [mntner] EXAMPLE-MNT

If there was an error, the acknowledgement will indicate failure of the object creation along with the errors encountered. For example, it may contain the following:

  • جزء من التحديث فشل.
  • كائنات بدون أخطاء تمت معالجتها.
  • فشل التحديث: خطأ في بناء الجملة في الكائن

8. سيتم إرسال بريد إلكتروني يحتوي على تفاصيل الكائن الجديد إلى عنوان البريد الإلكتروني الموجود في السمة "mnt-nfy" الخاصة بـ mntner. يمكنك الآن الاستعلام عن الخادم ورؤية كائن mntner الجديد. اكتب ما يلي في نافذة الاستعلام ، مع استبدال اسم mntnername الخاص بك:

مثال- MNT

You will get back your new mntner object, as well as the person object referenced.

  • mntner: مثال- MNT
  • descr: عينة مشرف على سبيل المثال
  • المشرف ج: اختبار ZA4
  • التكنولوجيا ج: ZA4- اختبار
  • محدث-إلى: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته
  • MNT-nfy: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته
  • المصادقة: MD5-PW #FILTERED
  • mnt-by: مثال - MNT
  • الإحالة عن طريق: TEST-MNT
  • تغير: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته 20020827
  • المصدر: TEST
  • الشخص: زولا أبالو
  • العنوان: مثال LTD 12 ، Akuna Matata Streat Flic-en-Flac ، MU
  • هاتف: + 230 123 2323
  • البريد الإلكتروني: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته
  • نيك-HDL: ZA4-TEST
  • mnt-by: مثال - MNT
  • ملاحظات: *******************************
  • ملاحظات: هذا الكائن مجرد مثال!
  • ملاحظات: *******************************
  • تغير: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته 20050127
  • تغير: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته
  • المصدر: TEST [يجب أن يكون AFRINIC في الحالة الحقيقية]

Please note that md5 and crypt hash output is filtered to prevent guessing attacks of the passwords that were used to create the hashes. If you would like to modify a mntner object, please create a new hash of the same plain text password (if you do not have the previous hash handy) and submit your update. Deleting a mntner requires the exact hash used to create it, which you can get by sending an email to هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته .

أيضًا ، بشكل افتراضي ، يقوم الاستعلام بإرجاع معلومات الاتصال المرتبطة بكائن. هذا هو سبب إرجاع كائن الشخص. إذا كنت لا تريد معلومات الاتصال الخاصة بالإحالة ، فاستخدم علامة "تعطيل العودية" في الاستعلام ، "-r". يمكنك رؤية هذا عن طريق كتابة نفس الاستعلام في نافذة الاستعلام ، ووضع العلم في المقدمة: 

-r مثال- MNT

Now you will get only the mntner object. Disabling recursion can result in a smaller, easier to understand reply if you do not care about contact information. This is often the case when managing your own objects.

2.3.4 حماية معلومات الاتصال الخاصة بك

 Now that you have a mntner, you can protect objects in the database. An object is protected by a mntner if it references the mntner in the "mnt-by:" attribute. Only a mntner listed as "mnt-by:" is authorised to make changes to an object. Most objects types require that you protect them with your mntner. However, person objects do not. It is recommended that you protect them. To protect your person object:

1. Get a copy of your current person object. In the query window type the "nic-hdl:" of your person object:

ZA4-TEST [أو ZA4-AFRINIC]

You will get back your current object in the database. You can also search by typing in a name. In this case, the database will return all person objects that have that name. For common names there may be many objects returned.

2. انسخ الكائن الذي تم إرجاعه بواسطة الاستعلام.

  •  الشخص: زولا أبالو
  • address: Example LTD 12, Akuna Matata Streat Flic-en-Flac, MU
  • هاتف: + 230 123 2323
  • البريد الإلكتروني: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته
  • نيك-HDL: ZA4-TEST
  • mnt-by: مثال - MNT
  • ملاحظات: *******************************
  • ملاحظات: هذا الكائن مجرد مثال!
  • ملاحظات: *******************************
  • تغير: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته 20050127
  • المصدر: TEST [يجب أن يكون AFRINIC في الحالة الحقيقية]

3. Add your mntner as the "mnt-by:" for your person object. The database will not allow you to use a "mnt-by:" unless the mntner object already exists.

4. Add a "changed:" line to reflect the fact that you are updating الكائن.

  • الشخص: زولا أبالو
  • address: Example LTD 12, Akuna Matata Streat Flic-en-Flac, MU
  • هاتف: + 230 123 2323
  • البريد الإلكتروني: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته
  • نيك-HDL: ZA4-TEST
  • mnt-by: مثال - MNT
  • ملاحظات: *******************************
  • ملاحظات: هذا الكائن مجرد مثال!
  • ملاحظات: *******************************
  • mnt-by: السمة EXAMPLE-MNT # الجديدة "mnt-by:"
  • تغير: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته 20050127
  • تغير: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته # جديد "تغير:" السمة
  • المصدر: TEST [يجب أن يكون AFRINIC في الحالة الحقيقية]

 5. When you add a mntner to an object that does not have one, you must authenticate yourself as the new mntner. Since the example uses the MD5-PW method, add a password line to your e-mail. This must start on the first column but can occur anywhere within the body of the message: password:

your_cleartext_password_here

6. أرسل قالب الكائن المحدث إلى هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته (أو هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته ).

7. Wait for the acknowledgement to come back from the database. It will indicate ssuccess or failure of your update.

2.3.5 تحديد موقع تخصيصات الشبكة

Network assignments are represented by inetnum objects. Before you can create a new inetnum you must find a range of IP addresses that are not currently assigned. This section describes how you can query the database for this information. You can also use the queries for any other purpose when you want to get IP address information from the database. By default, the database returns the smallest range that includes the entire range queried. This is a "less specific" query. For example, if you query the following:

10.11.12.0 - 10.11.13.255

قد تحصل على شيء مثل هذا:

  • العدد الداخلي: 10.0.0.0 - 10.255.255.255
  • اسم الشبكة: IANA-ABLK-RESERVED1
  • الأصل: 0.0.0.0 - 255.255.255.255
  • descr: مساحة عنوان فئة أ للإنترنت الخاص
  • descr: انظر http://www.ripe.net/db/rfc1918.html لمزيد من التفاصيل
  • الدولة: NL
  • admin-c: role1-TEST
  • التكنولوجيا ج: role1-TEST
  • الحالة: مخصصة غير محددة
  • ملاحظات: البلد حقًا عالمي
  • ملاحظات: يجب ألا يتم توجيه هذه الشبكة أبدًا
  • ملاحظات: خارج المؤسسة.
  • ملاحظات: انظر RFC1918 لمزيد من المعلومات
  • mnt بواسطة: TEST-DBM-MNT
  • mnt-Lower: TEST-DBM-NONE-MNT
  • مسارات mnt: TEST-DBM-NONE-MNT
  • تغير: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته 20020902
  • المصدر: TEST [يجب أن يكون AFRINIC في الحالة الحقيقية]

This is the less specific match. The 10.11.12.0 - 10.11.13.255 inetnum fits entirely within the 10.0.0.0 - 10.255.255.255inetnum. This is the smallest such block. The parent attribute give you the address block from which this inetnum derived from. In a clear term, it gives you the in the same inetnum object what an '-L' option will give you. If you want the server to give you only an exact match, then you can request this using the "-x" flag. An exact match is one where the IP range of the inetnum are the same as the IP range of the الاستعلام.

-x 10.11.12.0 - 10.11.13.255

In this case you will get only an exact match, or an error indicating that no such inetnum exists:

 ٪ خطأ: 101: لم يتم العثور على إدخالات

%

٪ لم يتم العثور على إدخالات في المصدر (المصادر) المحدد.

Sometimes you want to see all of the less specific inetnum to a range. In this case, you can use the "-L" flag. If you do this, you will see all inetnum that include the entire range queried. For example, if you query the following:

 -ل 10.11.12.0 - 10.11.13.255

قد تحصل على شيء مثل هذا (وهو تفاصيل السطر الأصل):

  • العدد الداخلي: 0.0.0.0 - 255.255.255.255
  • اسم الشبكة: IANA-BLK
  • descr: الكل IPv4 مساحة العنوان
  • الدولة: NL
  • admin-c: role1-TEST
  • التكنولوجيا ج: role1-TEST
  • الحالة: مخصصة غير محددة
  • ملاحظات: البلد حقًا عالمي
  • ملاحظات: تم تعيين مساحة العنوان هذه في مختلف
  • ملاحظات: أماكن أخرى في العالم.
  • mnt بواسطة: TEST-DBM-MNT
  • mnt-Lower: TEST-DBM-NONE-MNT
  • مسارات mnt: TEST-DBM-NONE-MNT
  • تغير: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته 20010418
  • المصدر: TEST [يجب أن يكون AFRINIC في الحالة الحقيقية]
  • العدد الداخلي: 10.0.0.0 - 10.255.255.255
  • اسم الشبكة: IANA-ABLK-RESERVED1
  • الأصل: 0.0.0.0 - 255.255.255.255
  • descr: مساحة عنوان فئة أ للإنترنت الخاص
  • descr: انظر http://www.ripe.net/db/rfc1918.html لمزيد من التفاصيل
  • الدولة: NL
  • admin-c: role1-TEST
  • التكنولوجيا ج: role1-TEST
  • الحالة: مخصصة غير محددة
  • ملاحظات: البلد حقًا عالمي
  • ملاحظات: يجب ألا يتم توجيه هذه الشبكة إلى الخارج
  • ملاحظات: مؤسسة
  • ملاحظات: انظر RFC1918 لمزيد من المعلومات
  • mnt بواسطة: TEST-DBM-MNT
  • mnt-Lower: TEST-DBM-NONE-MNT
  • مسارات mnt: TEST-DBM-NONE-MNT
  • تغير: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته 20020902
  • المصدر: TEST [يجب أن يكون AFRINIC في الحالة الحقيقية]

You can also look for smaller inetnum contained within a given range. This is a "more specific" query. You can use this on an allocation to look for ranges that have no other assignments. To do this, use the "-m" flag: -m 10.0.0.0 - 10.255.255.255

سوف تحصل على رد يشبه شيئًا كهذا:

  • العدد الداخلي: 10.11.13.0 - 10.11.13.255
  • اسم الشبكة: مثال الشبكة
  • الأصل: 10.0.0.0 - 10.255.255.255
  • descr: هذه مهمة وهمية
  • البلد: MU
  • المشرف ج: اختبار ZA4
  • التكنولوجيا ج: ZA4- اختبار
  • الحالة: السلطة الفلسطينية المعينة
  • إعلام: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته
  • mnt-by: مثال - MNT
  • كزاز الرضع أقل: مثال- MNT
  • مسارات mnt: EXAMPLE-MNT
  • تغير: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته 20020827
  • المصدر: TEST [يجب أن يكون AFRINIC في الحالة الحقيقية]
  • العدد الداخلي: 10.11.11.0 - 10.11.11.255
  • netname: مثال- الشبكة -2
  • الأصل: 10.11.13.0 - 10.11.13.255
  • descr: هذه مهمة وهمية
  • الدولة: GB
  • المشرف ج: اختبار ZA4
  • التكنولوجيا ج: ZA4- اختبار
  • الحالة: السلطة الفلسطينية المعينة
  • إعلام: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته
  • mnt-by: مثال - MNT
  • كزاز الرضع أقل: مثال- MNT
  • مسارات mnt: EXAMPLE-MNT
  • تغير: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته 20020903
  • المصدر: TEST [يجب أن يكون AFRINIC في الحالة الحقيقية]

 This is a "one-level more specific" query. This means that the largest inetnum that are within the given range are returned. In this example the IP addresses 10.11.12.0 - 10.11.12.255 are not assigned and are available. You will need to find an available range to be able to do the next exercise. If you want to see all inetnum smaller than a given range, you can use the "-M" flag:

10.0.0.0 م - 10.255.255.255

This will return all levels of inetnum in the range. This can return an extremely large number of objects, but can be useful for finding all of the inetnum for a portion of the Internet.

2.3.6 تسجيل تخصيصات الشبكة

Now that all of the objects necessary for an inetnum have been created and protected and you have located an appropriate range of IP numbers, you can create the inetnum object itself. To create a new inetnum in the database:

1. انسخ قالب كائن inetnum.

سوف تحصل على رد يشبه ما يلي:

  • inetnum: [إلزامي] [فردي] [مفتاح أساسي / بحث]
  • اسم الشبكة: [إلزامي] [مفرد] [مفتاح البحث]
  • الوالد: [إنشاء تلقائي] [فردي]
  • descr: [mandatory] [multiple] [ ]
  • الدولة: [إلزامية] [متعددة] []
  • admin-c: [mandatory] [multiple] [inverse key]
  • tech-c: [mandatory] [multiple] [inverse key]
  • rev-srv: [اختياري] [متعددة] [مفتاح معكوس]
  • الحالة: [إلزامي] [فردي] []
  • remarks: [optional] [multiple] [ ]
  • notify: [optional] [multiple] [inverse key]
  • mnt-by: [إلزامي] [متعددة] [مفتاح معكوس]
  • mnt-lower: [optional] [multiple] [inverse key]
  • طرق mnt: [اختياري] [متعددة] [مفتاح معكوس]
  • mnt-irt: [اختياري] [متعددة] [مفتاح معكوس]
  • changed: [mandatory] [multiple] [ ]
  • source: [mandatory] [single] [ ]

2. Delete everything to the right of the colon and fill in attribute values. You must complete the attributes listed as mandatory and should delete optional attributes that you do not use. Use "ASSIGNED PA" for the "status:" attribute, and your e-mail address for the "notify:" attribute. The e-mail address specified in the "notify:" attribute will get mailed when the object changes. You must choose your own "netname:", using the same rules as you did to choose a mntner name.

  • العدد الداخلي: 10.11.12.0 - 10.11.12.255
  • اسم الشبكة: مثال الشبكة
  • descr: هذه مهمة وهمية
  • البلد: MU
  • المشرف ج: اختبار ZA4
  • التكنولوجيا ج: ZA4- اختبار
  • الحالة: السلطة الفلسطينية المعينة
  • إعلام: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته
  • mnt-by: مثال - MNT
  • كزاز الرضع أقل: مثال- MNT
  • مسارات mnt: EXAMPLE-MNT
  • تغير: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته
  • المصدر: TEST [يجب أن يكون AFRINIC في الحالة الحقيقية]

 Note here that the parent attribute is missing because this attribute is not mandatory and is not store in the Data Base. the parent attribute in generated by the system at query time.

3. When a new object is created that has a "mnt-by:" attribute, the mntner must authorise the creation. Add the appropriate password for the mntner in the "mnt-by:" attribute:

كلمة المرور: your_cleartext_password_here

4. أرسل قالب الكائن المكتمل بنص عادي إلى اختبار dbm @ AFRINIC (أو هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته ).

5. Wait for the acknowledgement to come back from the database. If your update was successful you will get a reply containing شيء من هذا القبيل:

  • كان التحديث الخاص بك ناجحًا.
  • الكائنات التالية تمت معالجتها.
  • موافق جديد: [inetnum] 10.11.12.0 - 10.11.12.255

If there was an error, the acknowledgement will indicate failure of the object creation along with the errors encountered. For example, it may contain the following:

  • جزء من التحديث فشل.
  • كائنات بدون أخطاء تمت معالجتها.
  • فشل التحديث: خطأ في بناء الجملة في الكائن

6. The e-mail address in the "mnt-nfy" attribute of the mntner will be sent an e-mail of the details of the new object.

2.3.7 تحديث كائن inetnum

Suppose you later need to update information in your inetnum object. For instance, the technical contact has changed and is now represented by the person object "VA1-TEST". (You must create a new person object before you can follow this example.) To update an existing object, do the following:

1. الاستعلام عن قاعدة بيانات AFRINIC للكائن.

10.11.12.0 - 10.11.12.255

2. انسخ الكائن الذي أرجعه الاستعلام بدون السمة الرئيسية:

  • العدد الداخلي: 10.11.12.0 - 10.11.12.255
  • اسم الشبكة: مثال الشبكة
  • descr: هذه مهمة وهمية
  • البلد: MU
  • المشرف ج: اختبار ZA4
  • التكنولوجيا ج: ZA4- اختبار
  • الحالة: السلطة الفلسطينية المعينة
  • إعلام: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته
  • mnt-by: مثال - MNT
  • كزاز الرضع أقل: مثال- MNT
  • مسارات mnt: EXAMPLE-MNT
  • تغير: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته 20020828
  • المصدر: TEST [يجب أن يكون AFRINIC في الحالة الحقيقية]

3. Change the "tech-c:" attribute. Add a "notify:" attribute so the new technical contact will be notified when the inetnum is تم التعديل.

  • العدد الداخلي: 10.11.12.0 - 10.11.12.255
  • اسم الشبكة: مثال الشبكة
  • descr: هذه مهمة وهمية
  • الدولة: GB
  • المشرف ج: اختبار ZA4
  • Tech-c: تم تغيير VA1-TEST # إلى nic-hdl الجديد
  • الحالة: السلطة الفلسطينية المعينة
  • إعلام: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته
  • إعلام: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته # تمت إضافة إشعار جديد
  • mnt-by: مثال - MNT
  • كزاز الرضع أقل: مثال- MNT
  • مسارات mnt: EXAMPLE-MNT
  • تغير: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته 20020828
  • تغير: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته # خط جديد متغير
  • المصدر: TEST [يجب أن يكون AFRINIC في الحالة الحقيقية]

Please note that you cannot change the primary attribute of the object (inetnum: 10.11.12.0 - 10.11.12.255). The database will consider this to be a creation of a new object.

 4. To change an object that is protected by a "mnt-by:" attribute, you must add the appropriate authentication:

كلمة المرور: your_cleartext_password_here

5. أرسل قالب الكائن المحدث إلى هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته (أو auto-dbm @ AFRINIC للبيانات الحية)

6. Wait for the acknowledgement to come back from the database. It will indicate success or failure of your update.

7. The e-mail address in the "notify:" attribute of the original object will be sent a message with the details of the change.

2.3.8 حذف الكائنات

 Sometimes you no longer need objects you maintain. These should be deleted. For example, if the assignment is no longer used you should delete the inetnum object and all person objects that are only referenced from that object.

لحذف كائن موجود:

1. استعلم عن قاعدة بيانات الكائن الخاص بك.

2. انسخ الكائن الذي تم إرجاعه بواسطة الاستعلام بدون السمة الرئيسية

3. Add a special "delete:" attribute to the object explaining why the object should be deleted. For example:

  • العدد الداخلي: 10.11.12.0 - 10.11.12.255
  • اسم الشبكة: مثال الشبكة
  • descr: هذه مهمة وهمية
  • الدولة: GB
  • المشرف ج: اختبار ZA4
  • التكنولوجيا ج: VA1-TEST
  • الحالة: السلطة الفلسطينية المعينة
  • إعلام: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته
  • إعلام: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته
  • mnt-by: مثال - MNT
  • كزاز الرضع أقل: مثال- MNT
  • مسارات mnt: EXAMPLE-MNT
  • تغير: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته 20020828
  • تغير: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته 20020829
  • المصدر: TEST
  • حذف: تم إرجاع التخصيص بواسطة العميل

4. To delete an object that is protected by a "mnt-by:" attribute, you must add the appropriate password:

كلمة المرور: your_cleartext_password_here

5. أرسل الكائن المراد حذفه إليه هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته (أو هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته للبيانات الحية).

6. Wait for the acknowledgement to come back from the database. It will indicate success or failure of your deletion. 

7. The e-mail addresses in the "notify:" attribute of the object will be sent a message with the details of the deletion.Objects that are referenced by other objects cannot be deleted. For example, a mntner object cannot be deleted while is used as an "mnt-by:" or a "mnt-lower:". You can find the references to a mntner object by using an inverse query. Type the following in the query window, substituting your mntner object:

  • -i mnt-by و mnt-less و mnt-route -r EXAMPLE-MNT

This will return all of the objects that reference EXAMPLE-MNT. The "-i" flag requests the inverse query, and the "mnt-by,mnt-lower,mnt-routes" specify which attributes you want to look for. There must not be a space after the comma. The "-r" disables recursion, as seen in section 2.3.3. Since an organisation usually uses one mntner, you can use this query to locate all of the objects for an organisation. Before you can delete a mntner, you must remove all references to it. For example, if you have the following mntner and person:

  •  mntner: مثال- MNT
  • descr: عينة مشرف على سبيل المثال.
  • المشرف ج: اختبار ZA4
  • التكنولوجيا ج: ZA4- اختبار
  • محدث-إلى: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته
  • MNT-nfy: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته
  • auth: MD5-PW $1$WKwrFYYt$.oop28gKMiamE52SVHjyn0
  • mnt-by: مثال - MNT
  • الإحالة عن طريق: TEST-MNT
  • تغير: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته 20020827
  • المصدر: TEST [يجب أن يكون AFRINIC في الحالة الحقيقية]
  • الشخص: زولا أبالو
  • address: Example LTD 12, Akuna Matata Streat Flic-en-Flac, MU
  • هاتف: + 230 123 2323
  • البريد الإلكتروني: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته
  • نيك-HDL: ZA4-TEST
  • mnt-by: مثال - MNT
  • ملاحظات: *******************************
  • ملاحظات: هذا الكائن مجرد مثال!
  • ملاحظات: *******************************
  • mnt-by: مثال - MNT
  • تغير: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته 20050127
  • تغير: هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته 20050128
  • المصدر: TEST [يجب أن يكون AFRINIC في الحالة الحقيقية]

The mntner "EXAMPLE-MNT" cannot be deleted because it is referenced by the person "ZA4-TEST", and the person "ZA4-TEST" cannot be deleted because it is referenced by the mntner "EXAMPLE-MNT". To delete these objects, do the following:

1. Update the person object, and remove the "mnt-by:" attribute. This removes all protection, but this is not a security issue because the object will be deleted soon.

2. حذف كائن mntner.  

3. حذف كائن الشخص.

(Please remember to delete all objects you created in the TEST Database while doing these exercises.)

2.4 استخدام قاعدة بيانات AFRINIC للإنتاج

You should now have an understanding of the basic concepts of the AFRINIC Database and be able to maintain your own data and perform queries. This section details the differences between the TEST Database and the AFRINIC Database.

 1. تستخدم طلبات البحث أداة بحث مختلفة: http://www.afrinic.net/services/whois-query

 2. Objects in the AFRINIC Database use AFRINIC instead of TEST for both the "source:" attribute and the suffix appended to "nic-hdl:" الصفات.

3. Updates to the AFRINIC Database should be sent to < هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته > بدلا من هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته >.

 4. You cannot create your own mntner object in the AFRINIC Database. You should send your update to < هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته > but it will be processed by an AFRINIC staff member. mntner objects are only created for users who are referenced as the "admin-c:" or "tech-c:" for inetnum, inet6num, aut-num, or domain objects. 

5. You should not create inetnum objects in the AFRINIC Database unless you have received authorisation by the LIR that holds the responsibility for that address range.

2.5 أين تتعلم المزيد

The following resources are available to help you as you use the AFRINIC Database.

2.5.1 Whois مساعدة

A query for "help" will return a full list of all of the flags that you can use to query the database. While some of these have been covered in this document, many have لا.

2.5.3 الدليل المرجعي لقواعد البيانات AFRINIC

The definitive source of information for the AFRINIC Database is the AFRINIC Database Reference Manual. The latest version of this is available from the AFRINIC Document Store at: http://www.afrinic.net/library/membership-documents/197-database-afrinic-database-reference-manual-

It contains detailed specifications on all of the topics covered in this guide, as well as every aspect of using the AFRINIC Database.

2.5.4 الدورات التدريبية LIR

The AFRINIC provides training for Local Internet Registries. More information about the AFRINIC LIR Training Courses will be available قريبا.

2.5.5 أسئلة محددة

If you have a specific question that has not been answered in this guide, you may e-mail your question to < هذا محمى عنوان البريد الإلكتروني من المتطفلين. تحتاج إلى تفعيل جافا سكريبت لتتمكن من مشاهدته >

© حقوق الطبع والنشر . جميع الحقوق محفوظة - المركز الأفريقي لمعلومات الشبكة (أفرينيك)