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

WHOIS DB FAQs (v202202)

The AFRINIC WHOIS database has a daily query limit that is applicable to the Person Objects only. Each IP address querying the database has a default daily limit of 5000 queries the limit is reached within 24 hours, the IP address is temporarily blocked: an event of type "BLOCK_TEMPORARY" is inserted in the DB (acl_event). The IP address will be unblocked after 24 hours max (maybe less, depending on the schedule that runs every 24 hours).

Note that the "BLOCK_TEMPORARY" event is not deleted from the DB. It will be deleted after 3 months. If the same IP address was blocked more than 10 times in the last 3 months, then it becomes blocked permanently. An IP address that was blocked permanently won't be able to query the WHOIS for one year.

Some users may have to do a lot of queries legitimately. To avoid these IPs to be blocked, a special limit can be set in the DB. It is the purpose of the acl_limit table in the ACL_LOCAL database

on 2022 Feb 17
Was this helpful?

 The AFRINIC WHOIS Database is an official record publicly accessible that holds information with regard to IP resources for organisations in the AFRICAN region.

The database is accessible to users who can query determine who is the holder of an IP block or an AS Number.

on 2022 Feb 17
Was this helpful?

Two methods are available to query the WHOIS database.

 

(1) AFRINIC WHOIS web interface(2) AFRINIC WHOIS CLI

The AFRINIC WHOIS web interface can be accessed at https://afrinic.net/whois

whois how01

 

The WHOIS Command Line Interface, using WHOIS Client downloadable here.

command

 

 

  

on 2022 Feb 20
Was this helpful?

Organisation objects are maintained by AFRINIC. AFRINIC provides a mechanism to edit addresses, e-mails and phone numbers through the MyAFRINIC member portal.

The administrative contact has the right to edit the details of the organisation. 

Further changes or addition/removal of a contact person should be requested from AFRINIC by sending an e-mail to This email address is being protected from spambots. You need JavaScript enabled to view it.

on 2022 Feb 20
Was this helpful?

To view IP addresses or AS numbers associated with an organisation, the “inverse query” can be used.

WHOIS -h WHOIS.afrinic.net -i org <ORG-HDL> -r -T inetnum,inet6num,aut-num

The above WHOIS query will display IPv4 address, IPv6 address and AS number records associated with a particular organisation object.

on 2022 Feb 20
Was this helpful?

A person object holds information about technical or administrative contact responsible for the object where it is referenced. Each object has a unique Nic-handle attribute ("nic-hdl ").

Once the object is created, the value of the "person:" attribute cannot be changed. 

Follow the steps below:

  • On the AFRINIC Whois Web Interface, click on the "Create Object" tab.
  • You will have to load the person object template into the web WHOIS client. To do this, tick the checkbox next to "person" and click on "Load"
    create person object 6
  • The person object template will load as below.
    create person object 7
  • Fill in the information that is mandatory, an example is shown below:

create person object 8

  1. "person" -Specifies the full name of an administrative, technical or zone contact person for other objects in the database. (e.g. person: John Smith)
  2. "address" -Full postal address of a contact
  3. "phone" - Specifies the telephone number of the contact.
  4. "e-mail" - The e-mail address of a person, role or organisation.
  5. "nic-hdl" - This will be auto-filled with AUTO-1, which will be replaced with a system-generated NIC-HDL upon creation.
  6. "changed" - You will need to specify the e-mail address of the person who submitted the update
  7. "source" - This will be auto-filled with AFRINIC and should not be changed.
  8. You may add other attributes by using ‘drag-n-drop’ method into the template text area.
  9. Click on “Create” when you have filled in all the mandatory attributes
  • After successful creation of the Person object, you shall get the message below which would include the "nic-hdl". In this example the nic-hdl is JS42-AFRINIC.
    create person object 5
  • The password of the auto-generated MNTNER will be sent to the e-mail address(es) specified in the "e-mail" attribute(s). You will need to provide this password when updating/deleting the person object.

create person object 10

  • You may query the Whois to verify the Person object. E.g "-rB john smith" or "-rB JS42-AFRINIC".

 

 

 

 

on 2022 Feb 20
Was this helpful?

A Nic-handle is a unique identifier of a person object.

Whenever a person object is referenced in another database object, it is referenced by its Nic-handle and not by the person’s name.

A nic-hdl is representative of the following details of a person(name, address, telephone number and email).

on 2022 Feb 20
Was this helpful?

When a person object is created in the AFRINIC WHOIS database, a maintainer is auto-generated which is added as mnt-by to the person object and a plain text password is sent to the e-mail referenced in the object.

 Any modification of the object shall require the plain text password of the mnt-by.

 Further reading on maintainers here.

on 2022 Feb 20
Was this helpful?

A person object is protected by a maintainer (mnt-by). Always make sure to keep the plain text password secured and updated.

 Further reading on maintainers here.

on 2022 Feb 20
Was this helpful?

A personal maintainer is always recommended which may be created on the WHOIS web interface as follows: 

 

A) Create Object > mntner

B) Fill the object as follows:

Mntner: personal_mnt
descr: my maintainer
Admin-c: XX-AFRINIC (your nic-handle)
upd-to: This email address is being protected from spambots. You need JavaScript enabled to view it.
Auth: B-CRYTPT (hash)
Mnt-by: personal_mnt
Changed: This email address is being protected from spambots. You need JavaScript enabled to view it.
source: AFRINIC

C)  The plain text password of the b-crypt key should be inserted in the password field when submitting the object. 

D) Use this link to generate the b-crypt hash.

E) The person object can then be updated to replace the auto-generated maintainer with the newly created maintainer.

on 2022 Feb 20
Was this helpful?

A person object contains information about technical or administrative contact responsible for the object where it is referenced. Each object has a unique Nic-handle attribute ("nic-hdl:"). Nic-handle is a unique identifier of a PERSON object. Whenever a PERSON object is referenced in another database object, it is referenced by its Nic-handle and not by the person’s name. Once the object is created, the value of the "person:" attribute cannot be changed. 

Note: An auto-generated MNTNER object will be added in person objects which do not have an "mnt-by" attribute. The password of the auto-generated MNTNER will be sent to the email address(es) specified in the person object at the time of creation.

Follow the steps below:

  • On the AFRINIC Whois Web Interface, click on the "Create Object" tab.
  • You will have to load the person object template into the web WHOIS client. To do this, tick the checkbox next to "person" and click on "Load"
    6
  • The person object template will load as below.
    7
  • Fill in the information that is mandatory, an example is shown below:
    8
    1. "person" -Specifies the full name of an administrative, technical or zone contact person for other objects in the database. (e.g. person: John Smith)
    2. "address" -Full postal address of a contact
    3. "phone" -Specifies the telephone number of the contact.
    4. "e-mail" - The e-mail address of a person, role or organisation.
    5. "nic-hdl" - This will be auto-filled with AUTO-1, which will be replaced with a system-generated NIC-HDL upon creation.
    6. "changed" - You will need to specify the e-mail address of the person who submitted the update
    7. "source" - This will be auto-filled with AFRINIC and should not be changed.
    8. You may add other attributes by using ‘drag-n-drop’ method into the template text area.
    9. Click on “Create” when you have filled in all the mandatory attributes
  • After successful creation of the Person object, you shall get the message below which would include the "nic-hdl". In this example the nic-hdl is JS42-AFRINIC.
    5
  • The password of the auto-generated mntner will be sent to the e-mail address(es) specified in the "e-mail" attribute(s). You will need to provide this password when updating/deleting the person object.

    10
  • You may query the Whois to verify the Person object. E.g "-rB john smith" or "-rB JS42-AFRINIC".
on 2022 Feb 20
Was this helpful?

Choose a new password and encrypt it as BCRYPT using this link

Then send the encrypted password to This email address is being protected from spambots. You need JavaScript enabled to view it. requesting for mntner password update.

on 2022 Feb 20
Was this helpful?

To find out the contact information of the IP space, the flags (r and B) should be included to get the full object output from the AFRINIC WHOIS Database

Note that you will need the IP address of the email spammer in order to be able to find more details

 

 

on 2022 Feb 20
Was this helpful?

A route object can be created through the AFRINIC WHOIS GUI.  

  1. Click on “Create Object
  2. Select “route” to specify the type of object to create.
  3. Click on “Load” to load the route object template.

  4. Fill the template as per the requirements (example provided below)
  5. route: 196.192.48.0/20 (should be an exact match or a more specific prefix of the prefix delegated by AFRINIC)
    descr: Route Object Example 
    origin: AS327800 (The ASN that shall originate the inet(6)num prefix. ASN delegated by any RIR and registered in one RIR WHOIS database can be used)
    mnt-by: EXAMPLE-MNT (The maintainer referenced as the mnt-lower or mnt-routes in the IPv4(6) objects)
    changed: This email address is being protected from spambots. You need JavaScript enabled to view it. (your e-mail ID) 
    source: AFRINIC 

    The plain text password for the maintainer EXAMPLE-MNT should be used when submitting the object. For more information, please see the IRR comprehensive guide

 

on 2022 Feb 20
Was this helpful?

It is recommended to use the 'Plain text update' or 'E-mail method' when creating several route objects

The route objects need to be built and compiled in a text file.  Each object should be delimited by a blank line. The plain text password of the maintainer object must be specified in order to authorize the creation of the object in the WHOIS database.

An example is shown below

route: 196.192.48.0/20
descr: Route Object Example 
origin: AS327800
mnt-by: EXAMPLE-MNT
changed: This email address is being protected from spambots. You need JavaScript enabled to view it. 
source: AFRINIC
password: plain text password for the maintainer EXAMPLE-MNT

 

The plain text method can also be selected on the WHOIS interface to include all the objects that were compiled. 

For the e-mail methods, the route object template can be sent to This email address is being protected from spambots. You need JavaScript enabled to view it..

 

 

on 2022 Feb 20
Was this helpful?

AFRINIC and RIPE NCC are two different WHOIS databases. Objects in the AFRINIC database will have the suffix "-AFRINIC" while RIPE will have the suffix "-RIPE-NOAUTH" which will be filtered.

So, the objects can't be used interchangeably and the route objects must be created in the AFRINIC database.

 

on 2022 Feb 20
Was this helpful?

AFRINIC does not provide geolocation services and does not have any formal or operational relationship with any geolocation provider. A request should be sent to the geolocation provider to change the location of the IP resources.

 

on 2022 Feb 20
Was this helpful?

AFRINIC registers the prefix with XXX as a country (we use the organisation's country as a reference). What the Internet will reflect will depend on whether the databases storing this info are synchronised/updated with the current AFRINIC WHOIS data. We have no control over the info stored in other databases. 

The information stored in the AFRINIC database can be validated by querying WHOIS database

If any discrepancies are found can be reported to This email address is being protected from spambots. You need JavaScript enabled to view it..

on 2022 Feb 20
Was this helpful?
Date and time in Mauritius -